XL97: Unable to Open File After Changing Code Name of Sheet

ID: Q172500


The information in this article applies to:
  • Microsoft Excel 97 for Windows


SYMPTOMS

When you open a file in Microsoft Excel, you may receive one of the following error messages, and afterwards, you cannot open the file.

Microsoft Windows 95

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 may receive an error message similar to the following:
Excel caused an invalid page fault in module Excel.exe at 0137:3046dff3.

Microsoft Windows NT

Dr. Watson for Windows NT An application error has occurred and an application error log is being generated.

Excel.exe

Exception: access violation (0xc0000005), Address 0x3046f230.


CAUSE

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

  • You rename a worksheet in a workbook.


  • -and-

  • You change the code name of a worksheet with a Visual Basic for Applications macro.


  • -and-

  • You save the workbook.


STATUS

Microsoft has confirmed this to be a problem in Microsoft Excel 97. This problem no longer occurs in Microsoft Excel 2000.


MORE INFORMATION

For additional information about recovering information from damaged files, please see the following article in the Microsoft Knowledge Base:

Q142117 Excel: Summary of Methods to Recover Data from Corrupted Files


REFERENCES

For more information about code names, click the Office Assistant in the Visual Basic Editor, type "codename," click Search, and then click to view "CodeName Property."

NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If the Assistant is not able to answer your query, please see the following article in the Microsoft Knowledge Base:

Q176476 OFF: Office Assistant Not Answering Visual Basic Questions

Additional query words: XL97 gpf ipf crash

Keywords : kberrmsg kbprg kbdta xlloadsave xlvbainfo xlgpf
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbbug


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