Methods for Recovering Data in Corrupted Microsoft Excel Files
Save the File in the SYLK FormatIf you can open the corrupted Microsoft Excel file, you can "filter" it by saving the file in the SYLK format, closing the file, and then reopening it.
Use the Revert To Saved Document Command to Recover DataIf you are editing a Microsoft Excel worksheet and the file accidentally becomes corrupted before you have saved changes to the file, you can recover the original worksheet by doing the following:
- On the File menu, click Open and select the name of the file that you are editing. Note that a dialog box appears with the message "Revert to Saved Document?"
- Click OK.
The file that you are editing reverts to the last saved version of the file.
Use a Macro to Extract the Data in a ChartIn Microsoft 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 additional information, please see the following article in the Microsoft Knowledge Base:
Use the Microsoft Excel 97 File Recovery Macro to Recover Information (Excel 97 only)If you can open the workbook in Microsoft Excel 97, you can use the Microsoft Excel 97 File Recovery Macro to re-create Excel worksheets, XLM macro sheets, and module sheets in a new workbook. This macro also creates a log file so that you can identify items that cause problems when you use the macro to transfer them to the new worksheet. If the Microsoft Excel 97 File Recovery Macro fails, view the last entry in the log file to determine which item causes the problem, and then re-create the workbook without that item.
You can download this macro from Microsoft.
The following file is available for download from the Microsoft Download Center:
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
To find information about this macro in the "Office 97 Resource Kit" book, see Appendix A, pages 1027-1028. Note that the macro is referenced by the Cleaner.xla add-in that contains it.
To find this macro in the Office Resource Kit compact disc, insert the disc and open the following folder on the CD-ROM drive (usually drive D):
Open the File in Microsoft Word or WordPadIf you have the Microsoft Excel converter installed, you may be able to open your Microsoft Excel workbook in Microsoft Word. If the file does open in Microsoft Word, you will not be able to recover module sheets, dialog sheets, chart sheets, macro sheets, or any embedded charts. Also, you will not recover any cell formulas, just the results of those formulas that are currently in the cells.
You can also open your Microsoft Excel workbook in WordPad. If the file does open, you may be able to recover Visual Basic code in your modules and class modules. Search for the words "Sub" or "Function" to find your code.
Open the File in Microsoft Excel ViewerIf Microsoft Excel Viewer is installed, you may be able to open the Microsoft Excel workbook in Microsoft Excel Viewer, copy the cells and paste the cells into a new workbook. However, you cannot recover module sheets, dialog sheets, chart sheets, or macro sheets. Also, you cannot recover any cell formulas; you can recover only the results of the formulas that are currently in the cells.
For more information about Microsoft Excel Viewer, use your Web browser to go to the following Microsoft Web site:
Set the Recalculation Option to Manual Before Opening the FileYou may be able to open the file if you set the recalculation option to manual. To do this, follow these steps:
- Start Excel.
You should see a blank workbook on the screen.
- On the Tools menu, click Options.
- Click the Calculation tab.
- In the Calculation section, click Manual, and then click OK.
- On the File menu, click Open and try to open the file.
"Microsoft Excel User's Guide 2," version 4.0, pages 126-132
"Microsoft Excel User's Guide," version 3.0, pages 280-282, 307-316
ID članka: 142117 – Zadnji pregled: 27. jul. 2012 – Revizija: 1