If you don't want to change the Outlook security setting from MEDIUM to LOW, you can sign your VBA code.
In order to sign your Visual Basic for Applications (VBA) code in Microsoft Outlook, you will need to follow the following steps:
I. get a digital certificate. For the current use it is sufficient to use a self created certificate

II. Apply the certificate to the Outlook code
The code is now signed.
