XL97: Illegal Operation Saving Workbook

Last reviewed: January 15, 1998
Article ID: Q159669
The information in this article applies to:
  • Microsoft Excel 97 for Windows

SYMPTOMS

When you save a Microsoft Excel 97 workbook, 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, a message similar to the following appears:

   EXCEL caused an invalid page fault in module EXCEL.EXE at
   0137:3010c858.

CAUSE

This problem may occur when all of the following conditions are true:

  • You protect a worksheet in a workbook.

        -and-
    
  • You attempt to insert an object into the protected worksheet.

    NOTE: A warning message appears, and you cannot insert the object into the protected worksheet.

        -and-
    
  • You then save the workbook.

RESOLUTION

To prevent this problem from occurring, do not insert an object into a protected worksheet. If you must insert an object into a protected worksheet, unprotect the worksheet, insert the object, and then reprotect the worksheet.

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.

REFERENCES

For more information about protecting worksheets, click the Index tab in Microsoft Excel Help, type the following text

   protecting, worksheets

and then double-click the selected text to go to the "Control access to workbooks and worksheets" topic.


Additional query words: XL97
Keywords : xlloadsave xlui kberrmsg kbualink97
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbbug
Solution Type : kbworkaround


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.