The information in this article applies to:
SYMPTOMS
When you open a workbook and click either Disable Macros or Enable Macros, the following error message appears:
Windows 95 and Windows 98When you click Details, the following appears: When you click Close, the program shuts down. Windows NT 4.0
CAUSE
This problem occurs when you do the following:
WORKAROUND
To avoid this problem, do not refer to the worksheet by its object name. Instead, use the index or worksheet name within the Sheet collection. For example, the following macro will not cause the invalid page fault error when you reopen this workbook. (This example requires the ActiveWorkbook contains more than two worksheets and one sheet is named Sheet1.):
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed
at the beginning of this article. REFERENCESFor more information about Sheets collection, in the Visual Basic Editor, click
Microsoft Visual Basic Help on the Help menu, type "Sheets Property" in
the Office Assistant or the Answer Wizard, and then click Search to
view the topic. Additional query words: XL2000
Keywords : kberrmsg kbdta xlloadsave xlgpf |
Last Reviewed: June 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |