Help and Support
 

powered byLive Search

XL: Workbooks in Startup Folder Are Not Scanned for Macros

Retired KB ArticleThis article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Article ID:180614
Last Review:January 28, 2005
Revision:2.1
This article was previously published under Q180614

SYMPTOMS

When you start Microsoft Excel 97 for Windows, if there are any workbooks stored in either of the following folders

C:\Program Files\Microsoft Office\Office\Xlstart
The Alternate Startup File Location specified in the General tab of the Options dialog box
the workbooks are not scanned for macros when they are opened, even if the Macro Virus Protection option is enabled in the Options dialog box.

The same applies to Microsoft Excel 98 Macintosh Edition when workbooks are stored in either of the following locations:

The Microsoft Office 98:Office:Startup:Excel folder
The Alternate Startup File Location specified in the General tab of the Preferences dialog box

Back to the top

CAUSE

Workbooks stored in the startup folders are assumed by Microsoft Excel to be trusted. As a result, when you start Microsoft Excel, workbooks in the startup folders are not scanned for macros.

This behavior is by design of Microsoft Excel.

Back to the top

RESOLUTION

If you have reason to believe that one or more workbooks on your computer have been infected by macro viruses, perform the following steps:

1.In Microsoft Excel 97 for Windows, click Options on the Tools menu. In Microsoft Excel 98 Macintosh Edition, click Preferences on the Tools menu.
2.Select the General tab.
3.Select (check) the Macro Virus Protection checkbox. Also, clear the contents of the Alternate Startup File Location edit box. Then, click OK.
4.Exit Microsoft Excel.
5.Using the Windows Explorer, remove ALL files from the Xlstart folder. You can either delete the files, or you can move them to a different folder.

In Microsoft Excel 98 Macintosh Edition, use the Finder to remove ALL files from the Microsoft Office 98:Office:Startup:Excel folder. You can either delete the files, or you can move them to a different folder.
After you have performed these steps, use the information in the following articles to remove the macro viruses from your workbooks:

150990 (http://support.microsoft.com/kb/150990/EN-US/) : XL: How to Use the Virus Search Add-in for Microsoft Excel (WE1280)

154131 (http://support.microsoft.com/kb/154131/EN-US/) : XL: Q&A about Excel Macro/Laroux Macro Virus

171093 (http://support.microsoft.com/kb/171093/EN-US/) : XL97: Macro Virus Protection Alert May Not Appear

176807 (http://support.microsoft.com/kb/176807/EN-US/) : XL: How to Identify and Remove PLDT (Laroux) Macro Virus

179373 (http://support.microsoft.com/kb/179373/EN-US/) : XL: File Is Damaged After It Is Cleaned by Antivirus Software

Back to the top

MORE INFORMATION

You can demonstrate this problem by performing the following steps:

1.In Microsoft Excel 97 for Windows, create a new workbook.
2.On the Tools menu, click Options. Select the General tab. Select (check) the Macro Virus Protection checkbox, and click OK.
3.On the Tools menu, point to Macro, and click Visual Basic Editor. Then, click Module on the Insert menu. Type the following code in the new module:

      Sub Test()
          MsgBox "Not really a virus."
      End Sub
						
4.On the File menu, click Close And Return To Microsoft Excel.
5.On the File menu, click Save. Change the name of the workbook to Test1, and save it in the following folder:

C:\Program Files\Microsoft Office\Office\Xlstart
6.On the File menu, click Close.
7.On the File menu, click Open. Select the Test1 workbook and click Open.

You receive the following warning message:
The workbook you are opening contains macros. Some macros may contain viruses that could be harmful to your computer.
8.Click Do Not Open. Then, exit Microsoft Excel.
9.Start Microsoft Excel.
Microsoft Excel starts and the Test1 workbook opens. You do not receive the macro virus warning message, even though Test1 contains macros.

Back to the top


APPLIES TO
Microsoft Excel 97 Standard Edition
Microsoft Excel 98 for Macintosh

Back to the top

Keywords: 
kbcode kbprogramming KB180614

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • 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.