XL97: Macro Virus Warning Appears Opening File Without Macro (199972)



The information in this article applies to:

  • Microsoft Excel 97 for Windows

This article was previously published under Q199972

SYMPTOMS

When you open a workbook that does not contain macros, you may receive the following message:
The workbook you are opening contains macros. Some macros may contain viruses that could be harmful to your computer.

If you are sure this workbook is from a trusted source, click 'Enable Macros'. If you are not sure and want to prevent any macros from running, click 'Disable Macros'.
If you click Disable Macros, you may receive the additional message:
This workbook contains a type of macro (Microsoft Excel version 4.0 macro) that cannot be disabled. There may be viruses in these macros.

If you are sure this is from a trusted source, click Yes. Open the workbook?
If you click Yes, the workbook opens. If you click No, the workbook does not open. When you open the workbook, you are unable to find any macros.

CAUSE

This problem may occur when the following conditions are true:

  • A defined name has been inserted into the workbook.

    -and-
  • The defined name refers to a constant of 1.5.

WORKAROUND

Assign the name to refer to a cell address and type 1.5 in the cell.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

If you delete the defined name or change the value, the error no longer occurs.

REFERENCES

For more information about cell names, click Contents and Index on the Help menu, click the Index tab in Excel Help, type the following text

naming, cells

and then double-click the selected text to go to the "Determine what a name refers to" topic. If you are unable to find the information you need, ask the Office Assistant.

Modification Type:MajorLast Reviewed:8/27/2002
Keywords:kbbug KB199972