Visual Basic macros

O

oceainique

Ever since I installed Office XP, whenever I start or shutdown Word (2002) I get an error message saying:

MICROSOFT VISUAL BASIC
The macros in this project are disabled.
Please refer to host application to determine how to enable macros.

This pops up twice on start & shutdown. I looked in Tools/Macro menu, but can't seem to stop the error message.
Thanks, Bob
 
B

Beth Melton

It sounds like you have a macro that is attempting to run when Word
starts and exits. By default, Word macro security
(Tools/Macro/Security) is set to "High" to prevent macros from running
due to the threat of macro viruses.

You should first determine what macro is attempting to run.

- Go to Tools/Macro/Macros and make sure "Macros in" reflects "All
active templates and documents".
- See if there are any macros named "Auto" something such as AutoExec
or AutoExit
- Select the macro and see if the Edit or Delete command is available
- If it is then either Delete the macro or click "Edit" and place an
"X" in front of the macro name to prevent it from automatically
running until you can determine what the macro is actually doing

If delete is unavailable then chances are it is stored in a global
template. A global template is a template located in your Startup
folder that is automatically loaded when Word starts. You can find a
list of these under Tools/Templates and Add-Ins.

To determine which template, in the Macros dialog box, narrow down the
list of macros using "Macros in" at the bottom until you have
determined what template the macro is stored in.

Once you locate the template then either open the template and
delete/rename the macro or move the template out of the folder so it
will no longer be used.

Global templates are typically stored in your Word\Startup folder or
Office\Startup. Your Word\Startup folder can be determined by going to
Tools/Options/File Locations to verify this location. The
Office\Startup folder will be located in the installation path for
Office.

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/


oceainique said:
Ever since I installed Office XP, whenever I start or shutdown Word
(2002) I get an error message saying:
MICROSOFT VISUAL BASIC
The macros in this project are disabled.
Please refer to host application to determine how to enable macros.

This pops up twice on start & shutdown. I looked in Tools/Macro
menu, but can't seem to stop the error message.
 

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