Avatar of matt_m
matt_m
 asked on

Remove warning message in Outlook coming from VBA

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
Outlook

Avatar of undefined
Last Comment
Nick67

8/22/2022 - Mon
hexo dark

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 Burton

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.
ASKER CERTIFIED SOLUTION
Phillip Burton

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
hexo dark

It is not my code not my site I had made a search(research)

Sorry if it does not have you to help
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.