Microsoft KB Archive/159997

= XL97: Illegal Operation Closing File When VBE Is Visible =

Article ID: 159997

Article Last Modified on 5/13/2003

-

APPLIES TO


 * Microsoft Internet Explorer 3.02
 * Microsoft Internet Explorer 3.01
 * Microsoft Internet Explorer 3.0
 * Microsoft Excel 97 Standard Edition

-



This article was previously published under Q159997



SYMPTOMS
When you close Microsoft Internet Explorer 3.x while a Microsoft Excel workbook is open, 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 one of the following error messages:

EXCEL caused an invalid page fault in module VBA332.DLL at 014f:651b5ef6.

-or-

EXCEL caused an invalid page fault in module USER32.DLL at 014f:bff64e46.

-or-

EXCEL caused an invalid page fault in module KERNEL32.DLL at 014f:bff780a4.



CAUSE
This problem occurs when all of the following conditions are true:


 * You view a Microsoft Excel workbook in Microsoft Internet Explorer. -and-


 * You display the Visual Basic Editor, display any dialog box (for example, the References dialog box), and leave the dialog box visible on the screen. -and-


 * You switch back to Microsoft Internet Explorer and close the workbook, by clicking Close on the File menu or by clicking the Close button in the upper-right corner of the window.

When you display the Visual Basic Editor, display a dialog box in the Visual Basic Editor, and then close the workbook in the Internet Explorer, the displayed dialog box prevents the Visual Basic Editor quitting. As a result, you receive one or more of the error messages that are described in this article.



RESOLUTION
To prevent this problem from occurring, close any visible dialog boxes in the Visual Basic Editor before you switch back to Microsoft Internet Explorer 3.x.



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



MORE INFORMATION
A new features that is supported by Microsoft Internet Explorer 3.x is the ability to view and edit Microsoft Excel workbooks directly in Microsoft Internet Explorer. When you do this, you can use almost all of the features in Microsoft Excel 97, including programming in the Visual Basic Editor.

Additional query words: XL97 gpf ipf crash

Keywords: kberrmsg kbbug kbweb KB159997

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.