ID: Q177393
The information in this article applies to:
When you save a Microsoft Excel workbook in Microsoft Visual Basic Editor, you may receive the following error message.
This program has performed an illegal operation and will be shut down.
If the problem persists, contact the program vendor.
If you click Details, you receive an error message similar to the
following:
EXCEL caused an invalid page fault in module KERNEL32.DLL at
0137:bff9a290.
Dr. Watson for Windows NT
An Application error has occurred and an application log is being
generated.
EXCEL.exe
Exception: Access violation (0xc0000005), Address: 0x301d09b5
NOTE: If another workbook is open, it is saved instead of the workbook
that you specified. You will receive no error message.
This problem may occur when using the BeforeSave event if either of the following conditions is true:
-or-
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
For more information about using the BeforeSave event, click the Office Assistant in the Visual Basic Editor, type "beforesave," click Search, and then click to view "BeforeSave Event."
NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If the Assistant is not able to answer your query, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q176476
TITLE : OFF: Office Assistant Not Answering Visual Basic Questions
Additional query words: XL97 ipf
Keywords : kberrmsg kbprg kbdta xlgpf xladdins KbVBA
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbbug
Solution Type : kbpending
Last Reviewed: January 9, 1999