Simple Question [??]

M

MeAndI

I have a problem with outlook macros.
When I try to run my macro, this message popups:
"The macros in this project are disabled. Please refer to the online help or
documentation of the host application to determine how enable macros."

My question is: How can I enable macros for my project?

Please help
 
K

Ken Slovak - [MVP - Outlook]

Tools, Macro, Security. Set your security to Medium. Exit and restart
Outlook. Click on Enable when prompted to enable macros in that
Outlook session.

If set to Low you wouldn't get prompted but any macro code could run
and that can be dangerous. At High security only signed trusted macro
code would run but you wouldn't get prompted.

To sign your macros you could use the optionally installed
selfcert.exe program from the Office installation. Running selfcert
provides a signing certificate for your personal use. Once that's
installed you can use Alt+F11 to open the Outlook VBA project. Select
Tools, Digital Signature. In the dialog select the new certificate and
OK it. Then exit Outlook and OK saving your project when prompted.
When you reopen Outlook you won't get prompted if your security is at
High.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top