WD: Macro Virus Warning Message When You Start Word

Last reviewed: February 4, 1998
Article ID: Q164339
The information in this article applies to:
  • Microsoft Word for Windows 95, version 7.0a
  • Microsoft Word 97 for Windows

SYMPTOMS

You receive the following Macro Virus warning message when you start Word:

   The document you are opening contains macros or customizations. Some
   macros may contain viruses that could harm your computer.

   If you are sure this document is from a trusted source, click Enable
   Macros. If you are not sure and want to prevent any macros from
   running, click Disable Macros.

CAUSE

This problem may occur when you double-click any of the following:

  • A shortcut pointing to an incorrect or missing document or a template that contains macros.

    -or-

  • A Word shortcut on the desktop that points to a document or template that contains macros.

    -or-

  • A shortcut on the Windows menu that points to a Word document or template that contains macros.

    -or-

  • A Word file on the Windows desktop that contains macros (and you use this shortcut to start Word).

    -or-

  • A Word shortcut that points to email.dot.

WORKAROUND

To work around this problem, use the appropriate method for your situation.

Method 1: Change the Shortcut

Change the desktop or menu shortcut to point to the correct file or to a file that does not contain macros.

NOTE: You may have had a previous Word shortcut that pointed to an existing file, but you may have renamed, deleted, or moved the file causing your shortcut to now be invalid. When this occurs, Windows tries to find the file and it is possible that the shortcut will be directed to an incorrect file. This can also occur when you upgrade from one version of Word to another. Shortcuts you may have are not affected by the Word Setup program. It is possible that your existing shortcut will become invalid after you upgrade to a new version of Word.

Method 2: Move the File and Correct the Shortcut

Move the file that contains macros to any of the template folders that Word uses, and then correct your shortcut to point to the file in the new location.

NOTE: Word trusts that a file placed in any of the template folders are safe (free of macro viruses). Be certain that this is the case for all files that you place in these locations.

Method 3: Create a New Desktop File

Create a new Word file on the Windows desktop that does not contain macros to start Word.

MORE INFORMATION

This functionality is by design in Word when you have the Enable Macro Virus Protection enabled (this setting is on by default). To enable Macro Virus Protection (if it is disabled), use the following procedure:

  1. On the Tools menu, click Options.

  2. Click the General tab.

  3. Under General Options, click to select the "Macro virus protection" check box, and then click OK.

To Change a Desktop Shortcut

  1. On the Windows Desktop, right-click the Word shortcut icon.

  2. On the shortcut menu, click Properties.

  3. Click the Shortcut tab.

  4. Change the "Target" and "Start in" paths as appropriate, and then click OK.

To Change a Windows Menu Shortcut

  1. On the Windows taskbar, click Start, point to Settings, and then click Taskbar.

  2. Click the Start Menu Programs tab, and then click Advanced.

    This will take you to the Start Menu folder.

  3. Switch to the location that the menu shortcut displays.

    For example for Microsoft Word 97, double-click Programs. On the right side of the window, you should see a shortcut to Microsoft Word.

  4. Right-click the Microsoft Word shortcut, click Properties, and then click the Shortcut tab.

  5. Change the "Target" and "Start in" paths, as appropriate, and then click OK.

For additional information, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE-ID: Q160686
   TITLE     : Macro Warning Not Displayed Opening File from Template
               Folder

   ARTICLE-ID: Q161515
   TITLE     : Macro Virus Warning Displayed When No Macros Exist in File

   ARTICLE-ID: Q134727
   TITLE     : What to Do If You Have a Macro Virus

   ARTICLE-ID: Q163932
   TITLE     : Frequently Asked Questions About Word Macro Viruses


Additional query words: 7.0a 97 8.0 word7 word8 word95 word97
Keywords : word8 word97 kbusage
Version : 7.0a 97
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 4, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.