troubleshooting Question

Remove warning message in Outlook coming from VBA

Avatar of matt_m
matt_m asked on
Outlook
5 Comments2 Solutions175 ViewsLast Modified:
Hi All,

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.

Cheers
Matt
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros