Article ID: 302632 - View products that this article applies to.
This article was previously published under Q302632
When you start or quit Microsoft Word 2002, or you start or quit Microsoft Outlook 2002 when you are using Word as the e-mail editor, you may receive one of the following messages:
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.-or-
The macro cannot be found or has been disabled because of your Macro security settings.Additionally, one of these messages may appear when you perform common tasks, such as printing, saving, opening, or closing files.
These messages may appear even if you selected the Trust all installed add-ins and templates check box on the Trusted Sources tab of the Security dialog box.
NOTE: To access the Security dialog box in Word, point to Macros on the Tools menu, and then click Security.
This behavior occurs when Word macro security is set at the High security setting, and a Word add-in file contains a macro that is designed to run automatically.
To determine the name and location of the add-in file that contains the auto macro, follow these steps:
NOTE: Macros may contain viruses. If you do not recognize the add-in file, delete it to prevent the disabled macros message from appearing. For help with deleting the file, click Help on the Start menu in Microsoft Windows, and then search for the "deleting files" topic.
Method 1: Rename the Add-in FileAfter determining the add-in file name in the above steps, rename the extension of the file. To do this, follow these steps:
Method 2: Change the Word Startup Path to the Folder That Contains the Add-inTo change the startup path in Word to the folder that contains the add-in file, follow these steps:
Method 3: Move the Add-in File into the Word Startup PathThe following are the default locations for the Word startup path:
Microsoft Windows 98, or Microsoft Windows Millennium Edition (Me):If you want to be sure of the Word startup path before you move the add-in file, verify the path by following these steps:
C:\WINDOWS\Application Data\Microsoft\Word\STARTUPMicrosoft Windows 98, or Microsoft Windows Millennium Edition (Me) with user profiles:
C:\WINDOWS\Profiles\user name\Application Data\Microsoft\Word\STARTUPMicrosoft Windows NT 4.0:
C:\WINNT\Profiles\user name\Application Data\Microsoft\Word\STARTUPMicrosoft Windows 2000 or Microsoft Windows XP:
C:\Documents and Settings\user name\Application Data\Microsoft\Word\STARTUP
For help with moving the file, click Help on the Start menu in Windows, and search for the "moving files" topic.
NOTE: If you reinstall the software that includes the Word add-in, the add-in file will be placed back in its original location, and the disabled macros message may appear again. To prevent this, contact the vendor, if known, for a version of the add-in with a valid digital signature. Digitally signed macros are allowed to run in Word, even with the High macro security setting.
For information about how to contact third-party vendors, visit the following Microsoft Web site:
http://support.microsoft.com/gp/vendorsMicrosoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Microsoft Word 2002 automatically loads any document template (*.dot) or Word add-in library (*.wll) that is saved in either of two Startup folders.
One of these Startup folders is in the directory that contains the Microsoft Office XP program files. The other is in the directory that contains the Windows operating system files, or the directory that contains the user's profile on computers with user profiles enabled.
Earlier versions of Word trust all add-in files in either of these Startup folders if the Trust all installed add-ins and templates check box is selected in the Security dialog box.
Word 2002 only trusts one folder, which is the folder that is specified as the Word startup path in the Options dialog box.
For additional information about macro security in Microsoft Word 2002 and Microsoft Office XP, click the following article numbers to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/285514/ )OFF: Macros and Add-Ins Do Not Run When Security Is Set to High
(http://support.microsoft.com/kb/287567/EN-US/ )OFFXP: Considerations for Disabling VBA in Office XP
(http://support.microsoft.com/kb/290949/ )"The Macros in the Project Are Disabled" Message When You Run a Macro
(http://support.microsoft.com/kb/211607/EN-US/ )WD: Frequently Asked Questions About Word Macro Viruses
(http://support.microsoft.com/kb/233396/EN-US/ )WD: How to Reduce the Chances of Macro Virus Infection
(http://support.microsoft.com/kb/292176/EN-US/ )OL2002: VBA Code Does Not Run, or Causes Security Warning to Appear