WD97: Macro Virus Warning Displayed When No Macros Exist in File (161515)
The information in this article applies to:
- Microsoft Word 97 for Windows
This article was previously published under Q161515 SYMPTOMS
When you open a Word 97 document or template, you get the following macro virus warning, although the document or template does not contain any macros:
The document you are opening contains macros or customizations. Some macros 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
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 is displayed.
WORKAROUND
Use one of the following methods to create a new Word document that does not contain Word macro storage components.
Method 1: Copy All Information to a New Word File
Create a new document or template and then copy all text, styles, AutoText entries, and so forth, but do not copy any macros to the new file. To create a new Word file, do one of the following:
- Copy and paste the document to a new file. To do this, follow these steps:
- Press CTRL+END to go to the bottom of your Word document.
- Press CTRL+SHIFT+HOME to select everything from the end of the file to the beginning of the file.
- On the Edit menu, click Copy.
- On the File menu, click New. On the General tab, click Blank Document, and then click OK.
- On the Edit menu, click Paste.
- On the File menu, click Save As and save your new Word document with a new file name.
-or- - Insert your file into a new Word document. To do this, follow these steps:
- On the File menu, click New. On the General tab, click Blank Document, and then click OK.
- On the Insert menu, click File.
- In the Insert File dialog box, select your problem file, and then click OK.
- On the File menu, click Save As and save your new Word document.
-or- - Create a new Word template from the problem template. To do this, follow these steps:
- On the File menu, click New.
- Select your problem template. Under Create New, click Template, and then click OK.
- On the File menu, click Save As and save your new template.
Method 2: Save the Word File as Rich Text Format (RTF)- Delete all the macros from the file.
- On the File menu, click Save As.
- In the Save As dialog box, under Save As Type, click Rich Text Format, and then click OK.
- Close and then reopen the RTF file that you just saved.
- On the File menu, click Save As.
- In the Save As dialog box, in the Save as type box, click Word Document (*.doc), and then click OK.
- Close and reopen the document. The macro storage components have been reset.
The macro virus warning no longer appears when you open the document.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
| Modification Type: | Major | Last Reviewed: | 11/14/2000 |
|---|
| Keywords: | kbbug KB161515 |
|---|
|