XL97: Invalid Page Fault Saving a Workbook or Add-In (160032)
The information in this article applies to:
- Microsoft Excel 97 for Windows
This article was previously published under Q160032 SYMPTOMS
In Microsoft Excel 97, when you save a workbook, you receive the following
error message:
EXCEL caused an invalid page fault in module EXCEL.EXE at
0137:301cd997.
CAUSE
This problem occurs under the following circumstances:
- You type code in the BeforeSave event for the workbook.
-and-
- You set the IsAddin property for the workbook to True.
WORKAROUND
To work around this problem, remove the code in the BeforeSave event for
the workbook. To do this, follow these steps:
- On the File menu, click Open to open the workbook (or add-in).
- Press ALT+F11 to view the Visual Basic Editor.
- On the View menu, click Project Explorer.
- Right-click the ThisWorkbook object for the workbook, and then click
View Code.
- In the Code window, click Workbook in the Object list and click
BeforeSave in the Procedure list.
- Delete the code in the Workbook_BeforeSave event procedure.
- Save the workbook.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 10/20/2000 |
---|
Keywords: | kbbug kberrmsg kbProgramming KB160032 |
---|
|