What is Microsoft Word's macro virus protection tool, and how do I activate it?
If you are unable to save a document in Microsoft Word, your computer may have a macro virus. Microsoft Word documents can use macros, which can potentially carry these viruses. To minimize this possibility, activate the built-in macro protection tool by following the instructions appropriate to your version of Word:
Word 2007
Word 2007 uses a feature called the Trust Center to manage macro security settings. To change your macro security settings:
- From the Office Button menu, select
Word Options.
- Click
Trust Center, and then clickTrust Center Settings. A new page will open.
- Click
Macro Settingson the left, and then select from the following security levels:
-
Disable all macros without notificationwill allow only macros installed in trusted locations to run. Any other macros, signed or unsigned, will be disabled. -
Disable all macros with notificationwill prompt you to choose whether or not a macro can run. -
Disable all macros except digitally signed macrosallows macros signed by trusted publishers to run automatically, prompts you for signed macros from other publishers, and prevents unsigned macros from running. -
Enable all macrosallows all macros to run. UITS does not recommend this setting, because it allows potentially dangerous code to run without warning.
-
For more information about the Trust Center and macro security in Office 2007, see Enable or disable macros in Office documents from Microsoft Office Online.
Word 2000, 2002, and 2003
When activated, the macro protection tool in Word 2000, 2002 (the word processing application in Office XP), and 2003 will allow you to configure Word macro behavior. To activate the tool:
- From the
Toolsmenu, selectMacro, and thenSecurity....
- In the resulting window, click the
Security Leveltab.
- Choose one of the following security levels:
- Select
Very Highto allow only macros installed in trusted locations to run. Any other macros, signed or unsigned, are disabled. (This setting is available only in Word 2003.) - Select
Highto allow only signed macros to run. - Select
Mediumto be prompted to run macros. - Select
Lowto run all macros.
- Select
Now, with the tool activated, if you load a suspect file, Word will
warn you that the document contains macros and will ask you what to do
about them. You can select Disable Macros to avoid
infection from a file containing a macro virus.
Note: If you close the file and reopen it, or if you
open an additional file with macros, you will get the same warning,
and you must select Disable Macros again.
Word 2008 for Mac OS X
Due to changes in Word 2008, documents can contain macros, but they are no longer run.
Word v.X and 2004 Mac OS X
When enabled, the Word macro virus protection tool will display a warning message when you attempt to open a file with embedded macros. The alert will allow you to select whether or not to open the document, or to open it with macros disabled. Disabling macros is a good idea unless you have been notified that the document has macros and you are aware of their function.
Note: If you close a file and reopen it, or if you
open an additional file with macros, you will get the same warning,
and you must select Disable Macros again.
To enable the virus protection tool:
- From the
Wordmenu, selectPreferences....Note: You must have a document open for
Preferences...to appear. - In Word 2004, click
Security, and then checkWarn before opening a file that contains macros. In Word v.X, clickGeneral, and then checkMacro Virus Protection.
- Click
OK.
Last modified on August 11, 2009.







