Article ID: 238851 - Last Review: June 17, 2005 - Revision: 2.0 WD2000: Macro Virus Warning Appears When No Macros Exist in FileThis article was previously published under Q238851 On This PageSYMPTOMS
When you open a Microsoft Word 2000 document or template, you may get the following macro virus warning even though the document or template does not contain macros:
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. CAUSE
When you delete macros from a document or template, some macro storage components are left behind. The macro virus protection feature finds this information, and the warning message may be displayed.
WORKAROUND
Use one of the following methods appropriate for your situation to work around this problem:
Method 1: Delete the Remaining Macro Storage ComponentMicrosoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. Macros that are contained in your Word document or template are saved in a module. After you delete macros from a document or template, the module that contained the macros remains and is not removed when the macros are deleted.To delete the module from your Word document or template and prevent the macro virus warning from appearing, do the following steps: NOTE: Removing a module deletes the macros that it contains.
Method 2: Copy the Template to a New Word FileNOTE: Use this procedure when your Word template contains no macros but displays the macro virus warning as described in the "Symptoms" section of this article when you open it or try to create a new document based on it (on the File menu, click New). Create a new template using the following steps:NOTE: After the new template is created, you can copy all custom styles, AutoText entries, and so forth to the new template, but do not copy any macros to the new template.
Method 3: Save the Word Document as Rich Text Format (RTF)NOTE: Use this procedure when your Word document contains no macros but displays the macro virus warning as described in the "Symptoms" section of this article.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. MORE INFORMATION
Macro storage components are not present in a Word document or template until you store a macro in the file. These components exist as supporting structures for the existence and storage of macros in a file. When you delete all of the macros in a file, the macro storage components are not removed. The macro virus warning feature of Microsoft Word 2000 detects the macro storage components in the file and presents the macro virus warning when you open the file. To remove macros from a Word document, do the following:
233396
(http://support.microsoft.com/kb/233396/EN-US/
)
WD2000: How to Reduce the Chances of Macro Virus Infection
| Article Translations
|

Back to the top
