XL97: Illegal Operation Closing File When VBE Is Visible

Last reviewed: January 15, 1998
Article ID: Q159997
The information in this article applies to:
  • Microsoft Excel 97 for Windows
  • Microsoft Internet Explorer, versions 3.0, 3.01, 3.02

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. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

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 : xlui xlvbainfo xlweb kberrmsg
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbbug


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 15, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.