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

Last reviewed: January 7, 1998
Article ID: Q172500
The information in this article applies to:
  • Microsoft Excel 97 for Windows

SYMPTOMS

When you open a file in Microsoft Excel, error messages similar to the following may appear.

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.

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. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

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

   ARTICLE-ID: Q142117
   TITLE     : 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 Microsoft Help is not installed on your computer, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q120802
   TITLE     : Office: How to Add/Remove a Single Office
               Program or Component


Additional query words: XL97 gpf ipf crash
Keywords : xlgpf xlloadsave xlvbainfo kberrmsg
Version : WINDOWS:97
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 7, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.