Microsoft KB Archive/820741

From BetaArchive Wiki

Article ID: 820741

Article Last Modified on 1/11/2006



APPLIES TO

  • Microsoft Office Excel 2003
  • Microsoft Excel 2002 Standard Edition



For a Microsoft Excel 2000 version of this article, see 179871.


For a Microsoft Excel 97 and earlier version of this article, see 142117.

SUMMARY

There are several methods that you can use to recover information from damaged or corrupted Excel 2003 files. This article discusses these methods and includes references to other Microsoft Knowledge Base articles that discuss these methods in more detail.

Methods for Recovering Data in Corrupted Excel Files

You can use the following methods when you try to troubleshoot problems opening or using Excel files:

  • Use a recovered copy of the document.
  • Use the Open and Repair command.
  • Save the file in HTML format.
  • Save the file in XML Spreadsheet format.
  • If a chart is linked to the corrupted file, use a macro to extract the data.


MORE INFORMATION

Use a recovered copy of the document

If Excel stops responding while you are working in your workbook, use the Microsoft Office Application Recovery program to recover Excel and your workbook. To do this, follow these steps:

  1. Click Start, point to All Programs, point to Microsoft Office, point to Microsoft Office Tools, and then click Microsoft Office Application Recovery.
  2. In the Application list, click Microsoft Excel, and then click Recover Application.


Note If you click End Application, recent changes to your workbook are lost.

  1. Open Excel.


The files listed in the Document Recovery task pane include your recovered workbook.

  1. To open or save your workbook, click the arrow on the right of the workbook in the task pane.

For more information about Excel AutoRecover functions, click the following article number to view the article in the Microsoft Knowledge Base:

289273 Description of the AutoRecover functions in Excel 2002 and in Excel 2003


Use the "Open and Repair" command

This method is the primary method of file recovery in Excel 2002 and later versions. If you want to try to recover the most recent changes in a damaged Excel file, follow these steps:

  1. Start Excel.
  2. On the File menu, click Open.
  3. In the Open dialog box, select the file that you want to open.

    Click the arrow on the Open button, and then click Open and Repair.
  4. When you are prompted, click Repair to try to recover your most recent changes.

    Note If Excel cannot repair your workbook, click Extract Data instead of Repair.
    1. If your workbook contains formulas, Excel prompts you to select either Convert to Values or Recover Formulas.
    2. If you receive the following error message, click Yes.

      The document file name caused a serious error the last time it was opened. Would you like to continue opening it?

      For more information about this error message, click the following article number to view the article in the Microsoft Knowledge Base:

      286017 You receive an "The document 'Filename' caused a serious error the last time it was opened .Would you like to continue opening it?" error message when you open a file in Excel or in Word

  5. Save your recovered workbook.


Save the file in HTML format

If you can open the corrupted Excel file, you can filter it if you save it in HTML format, close the file, and then reopen it. To do this, follow these steps:

  1. On the File menu, click Save as Web Page.
  2. Under Save, click Entire Workbook, and then click Save.
  3. Close the file.
  4. Open the file again in Excel.
  5. On the File menu, click Save As.
  6. In the Save as type list, click Microsoft Excel Workbook.
  7. Change the name of the file to create a new filtered copy without replacing the original.

Note Some features may be lost when you save in HTML format.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

300637 Some workbook features not retained when saving as a Web page in Excel


Save the file in XML Spreadsheet format

If you can open the corrupted Excel file, you can filter it if you save it in XML Spreadsheet format, close the file, and then reopen it. To do this, follow these steps:

  1. On the File menu, click Save As.
  2. In the Save as type list, click XML Spreadsheet.
  3. Click Save.
  4. Close the file.
  5. Open the file again in Excel.
  6. On the File menu, click Save As.
  7. In the Save as type list, click Microsoft Excel Workbook.
  8. Change the name of the file to create a new filtered copy without replacing the original.

Note Some features may be lost when you save in XML Spreadsheet format.

Use a macro to extract the data in a chart

In Excel versions 5.0 and later, data may be retrieved from a chart, even when the data is in an external worksheet or workbook. This behavior can be useful in situations where the chart was created from or linked to another file that is unavailable or has been damaged in some way.

When the source data to a chart is lost, you can still retrieve the data from the chart itself by using a Visual Basic for Applications (VBA) macro.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

300643 Macro to extract data from a chart



Additional query words: corrupt corruption inf

Keywords: kbhowto kbxml kbcorrupt KB820741