How do I enable macros in Outlook 2003?

J

Jan Kelley

I've written a couple of macros in Outlook 2003. They worked fine the day I
wrote them. The next time I opened Outlook and tried to run them, though, I
get the error:
The macros in this project are disabled. Please refer to the online help or
documentation of the host application to determine how to enable macros.

There's nothing I can find in Outlook help or online that tells me how to
enable macros. Anyone know? Thanks.
 
J

Jan Kelley

Setting the security level to medium or low affects macros coming from all
sources (like virus-infected emails). After some more research, I've found a
way to do this without reducing the security level.

1. Create a digital certificate for yourself
Windows XP: Start, All Programs, Microsoft Office Tools, Digital Certificate
for VBA Projects.
Windows 2000: Start, Programs, Microsoft Office Tools, Digital Certificate
for VBA Projects.
(If the SelfCert.exe file is not on your computer, you might need to install
it.)
Follow the instructions to create a certificate.

2. Sign the Macro
In Outlook: Tools, Macro, Visual Basic Editor.
In the Project Explorer, select the project you want to sign.
Click Tools, Digital Signature. Click Choose, select the certificate, click
OK twice. Save.

3. When you open or run the macro, you’ll get a security warning. Check
“Always trust macros from this sourceâ€.

Your digital signature/certificate can be used for macros in all Office
applications.
 
N

neo [mvp outlook]

Um... Tools > Macros > Security only effects VBA macros last I checked. It
does not do anything to stop script behind virus infected HTML messages from
running. However I like your solution better to ensure that a rougue
outlook vba project file doesn't take effect. :)
 
Top