Remove warning message in Outlook coming from VBA
Posted on 2014-11-12
I have a macro in Outlook VBA that extracts information about a selected email. One thing that's a pain is that whenever I run I it comes up with a warning
" A program is trying to access e-mail information stored in Outlook. If this is ......."
Does anyone know a bit of code that can be added at the start of the macro to stop these messages? Note I have looked around and there does appear to be some published as follows
1. In Outlook, go to Help, Privacy Options, Programmatic Access, select Never warn me.
For me this is greyed out.
2. Wildfire/third party add ins
Don't want to go down this route for several different reasons.