enable macros when starting up program

C

Chris

When I start up Word 2003 an error message comes up, Heading " Microsoft
Visual BAsic", "macros in this project are disabled. Please refer to the
online help or documentation of the host application to determine how to
enable macros."
 
J

Jay Freedman

Chris said:
When I start up Word 2003 an error message comes up, Heading "
Microsoft Visual BAsic", "macros in this project are disabled. Please
refer to the online help or documentation of the host application to
determine how to enable macros."

Hi Chris,

Some third-party programs (OCR, WinFax, etc.) put an add-in template in the
folder C:\Program Files\Microsoft Office\OFFICE11\STARTUP. If the add-in
contains VBA code, and if you have the macro security level set to High,
you'll get that message.

To fix it, first go to Word's dialog at Tools > Macro > Security. Click the
Trusted Publishers tab and make sure there's a check in the box for "Trust
all installed add-ins and templates".

Now look in Word's dialog at Tools > Options > File Locations and note the
path of the folder listed as the Startup item. (That dialog is too narrow,
so you can select the item and click Modify to see the full path, then
Cancel to get out without changing it.) Then shut down Word.

In Windows Explorer, go to Tools > Folder Options > View, and select "Show
hidden folders and files". This is necessary because the path to the Startup
folder includes Application Data, which is a hidden folder. Then move all
files from C:\Program Files\Microsoft Office\OFFICE11\STARTUP to the Startup
location listed in Word.

When you restart Word, you shouldn't see the message again.

This problem arises because Word doesn't recognize the startup folder in the
Program Files branch as a trusted location. Putting things there is simple
for third-party developers because they don't have to figure out where your
Startup location is, but it causes problems later.
 

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