MacXL: Unable to Open File After You Change Code Name of Sheet (178503)



The information in this article applies to:

  • Microsoft Excel 2001 for Mac
  • Microsoft Excel 98 Macintosh Edition

This article was previously published under Q178503

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 that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

For additional information about how to recover information from damaged files, click the article number below to view the article in the Microsoft Knowledge Base:

142117 XL: Summary of Methods to Recover Data from Corrupted Files

REFERENCES

For more information about code names, click the Office Assistant, type codename property, click Search, and then click a topic to view it.

NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar.

Modification Type:MinorLast Reviewed:10/10/2006
Keywords:kbbug kbdtacode kberrmsg kbpending kbProgramming KB178503