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

ID: Q178503


The information in this article applies to:
  • Microsoft Excel 98 Macintosh Edition


SYMPTOMS

When you open a file in Microsoft Excel, you may receive one of the following error messages:

The Application "Microsoft Excel" has unexpectedly quit, because an error of type 2 occurred.

You should save your work in other open applications and restart the computer.
-or-
Sorry, a system error occurred. "Microsoft Excel"

error type 11
After you receive the error message, you cannot open the file.


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 the Microsoft products listed at the beginning of this article.


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: XL98 gpf ipf crash

Keywords : kberrmsg kbprg kbdta xlloadsave xlvbainfo xlgpf
Version : MACINTOSH:98
Platform : MACINTOSH
Issue type : kbbug


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