We help IT Professionals succeed at work.

Remove warning message in Outlook coming from VBA

matt_m
matt_m asked
on
152 Views
Last Modified: 2016-02-07
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
Comment
Watch Question

hello
I do not know outlook but I found this link
http://www.outlook-apps.com/disable-outlook-security-warning/

Hope to have helped you
Phillip BurtonDirector, Practice Manager and Computing Consultant
Awarded 2014
Top Expert 2014

Commented:
I have used for the past 12 years a program called ClickYes. It is not a third party Add-In for Outlook, but a program for Windows.

After you have installed it, right-hand click on it and select it to start and to restart on bootup.
Director, Practice Manager and Computing Consultant
Awarded 2014
Top Expert 2014
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
It is not my code not my site I had made a search(research)

Sorry if it does not have you to help
CERTIFIED EXPERT
Most Valuable Expert 2014
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.