XL97: Invalid Page Fault Saving a Workbook or Add-In

ID: Q160032

The information in this article applies to:

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:

WORKAROUND

To work around this problem, remove the code in the BeforeSave event for the workbook. To do this, follow these steps:

1. On the File menu, click Open to open the workbook (or add-in).

2. Press ALT+F11 to view the Visual Basic Editor.

3. On the View menu, click Project Explorer.

4. Right-click the ThisWorkbook object for the workbook, and then click

   View Code.

5. In the Code window, click Workbook in the Object list and click
   BeforeSave in the Procedure list.

6. Delete the code in the Workbook_BeforeSave event procedure.

7. Save the workbook.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

Additional query words: XL97 8.0 8.00 ipf gpf addin

Keywords          : kberrmsg kbprg kbdta xlloadsave KbVBA xlvbmigrate 
Version           : WINDOWS:97
Platform          : WINDOWS
Issue type        : kbbug
Solution Type     : kbpending

Last Reviewed: June 30, 1999