Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/172263

From BetaArchive Wiki

Article ID: 172263

Article Last Modified on 10/22/2000


  • Microsoft Excel 97 Standard Edition

This article was previously published under Q172263


If you copy a worksheet in Microsoft Excel 97 with the Move or Copy command, 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 either of the following:

EXCEL caused an invalid page fault in module EXCEL.EXE at 0137:302d6c38.


EXCEL caused an invalid page fault in module <unknown> at 0000:7c651f00.


This problem occurs when both of the following conditions are true:

  • The worksheet contains one or more embedded charts. -and-

  • The workbook that contains the worksheet is protected with a Password To Open.

NOTE: The Move or Copy command is available from the Edit menu, or from the shortcut menu obtained by right-clicking a sheet tab. This problem only occurs when you copy the worksheet; if you move the worksheet without creating a copy, the problem does not occur.


To work around this problem, use either of the following methods.

Method 1: Remove the Password from the Workbook

  1. On the File menu, click Save As. In the Save As dialog box, click Options.
  2. Delete any password in the Password To Open box, and then click OK.
  3. Click Save.

Method 2: Remove the Chart Before Copying

Remove the chart from the worksheet before you copy it. Once you have copied the worksheet, re-create the chart on each worksheet.


Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem no longer occurs in Microsoft Excel 2000.


In Excel 97, you can protect a workbook with a password that must be entered each time you open the workbook. To do this, follow these steps:

  1. On the File menu, click Save As. In the Save As dialog box, Click Options.
  2. In the Password To Open box, type the password you want to use, and then click OK.
  3. In the Confirm Password dialog box, type the same password again, and then click OK.
  4. In the File Name box, type a file name, and then click Save.

Additional query words: XL97 ipf

Keywords: kberrmsg kbbug kbchart KB172263