XL97: Illegal Operation Saving Workbook

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.


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


Last Reviewed: November 4, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.