Help and Support

WD2000: Macro Virus Warning Message When Using Word

Article ID:214198
Last Review:December 6, 2000
Revision:1.0
This article was previously published under Q214198
On This Page

SYMPTOMS

When you start Word, open an existing document, or create a new document, one of the following may occur:

Back to the top

Case 1

The following macro virus warning message appears:
C:\<path>\<filename> contains macros.

Macros may contain viruses. It is always safe to disable macros, but if the macros are legitimate, you might lose some functionality.

Back to the top

Case 2

The document opens in Design mode.

Back to the top

CAUSE

This functionality is by design in Word 2000 and is different from earlier versions of Microsoft Word. Depending upon the security level set in Word, Word may not "trust" documents and templates even when they are stored in certain folders (as in earlier versions of Word).

This problem may occur under any of the following circumstances:
You start Word, and a Word document or template that contain macros or ActiveX components is stored in one of the Startup folders.

For example, this problem may occur when a document or template containing macros or ActiveX components is stored in either of the following default folders:
C:\Program Files\Microsoft Office\Office\Startup

-or-

C:\WINDOWS\Application Data\Microsoft\Word\STARTUP
NOTE: Your default Startup folders may be in a different location.

You click a Word shortcut on the Windows Desktop or Windows Start menu that points to a document or template that contains macros or ActiveX components.

For example, this problem may occur when you click a Word shortcut that pointed to an existing file and you may have renamed, deleted, or moved the file, causing your shortcut to become invalid. When this occurs, Windows tries to find the file, and it is possible that the shortcut may be directed to an incorrect file.

This can also occur when you upgrade from one version of Word to another. Shortcuts you have may not be affected by the Word Setup program.
You click a Word file on the Windows Desktop that contains macros or ActiveX components.
You click New on the File menu and select a template that contains macros or ActiveX components.

NOTE: When you click New on the File menu, Word shows you the Word templates that are stored in the following locations:
User templates path
Workgroup templates path
Templates installed by the application. The default location for Microsoft Word 2000 templates is as follows:
C:\Program Files\Microsoft Office\Templates\1033
NOTE: Your Microsoft Word templates may be installed to a different folder. To view your User templates and Workgroup templates paths, click Options on the Tools menu, and then select the File Locations tab.
You open a document or template that contains macros or ActiveX components.
NOTE: Word opens a document in Design mode when the document contains ActiveX components and the Security level is set to High. If the document does not contain macros, Word does not show the macro virus warning message described in the "Symptoms" section of this article.

Back to the top

WORKAROUND

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

Back to the top

Method 1: Change the Shortcut

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

To Change a Desktop Shortcut

Use the following steps to change the file that your Windows desktop shortcut points to:
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 takes you to the Start Menu folder.
3.Switch to the location that the menu shortcut displays.

For example, for Word 2000, 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.

Back to the top

Method 2: Create a New Desktop File

Create a new Word file on the Windows Desktop that does not contain macros or ActiveX components to start Word.

Back to the top

Method 3: Change the Security Level (Not Recommended)

To change the security level in Word, do the following steps:
1.On the Tools menu, point to Macro, and click Security.
2.On the Security Level tab, click to select the security level you want and click OK.

NOTE: Microsoft does not recommend that you select Low security. When you select Low security, you are not protected from potentially unsafe macros. Use this setting only if you have virus scanning software installed, or if you are sure all documents you open are safe.
For additional information about security levels and macro viruses, click the article number below to view the article in the Microsoft Knowledge Base:
233396 (http://support.microsoft.com/kb/233396/EN-US/) WD2000: How to Reduce the Chances of Macro Virus Infection

Back to the top

MORE INFORMATION

For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
211800 (http://support.microsoft.com/kb/211800/EN-US/) WD2000: What to Do If You Have a Macro Virus
211607 (http://support.microsoft.com/kb/211607/EN-US/) WD2000: Frequently Asked Questions About Word Macro Viruses
For more information about ActiveX components, click Microsoft Word Help on the Help menu, type ActiveX in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

Back to the top


APPLIES TO
Microsoft Word 2000 Standard Edition

Back to the top

Keywords: 
kbvirus kbprb KB214198

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Contact Microsoft
    Phone Numbers, Support Options and Pricing, Online Help, and more.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.