The information in this article applies to:
SUMMARY
Damaged document files can cause any program to exhibit unusual behavior.
Such behavior occurs because the program attempts to make decisions about
what to do based on incorrect information in the file.
Q156573 WD97: How to Recover Text from Any File MORE INFORMATIONIdentifying a Damaged DocumentDamaged documents often exhibit behavior that is not part of the program's design (for example, infinite repagination, incorrect document layout and formatting, unreadable characters on the screen, error messages during processing, system hangs or crashes when you load or view the file, or any other unusual behavior that cannot be attributed to the normal operation of the program). This behavior can be caused by factors other than document corruption. To rule out other factors, use the following troubleshooting steps:
Things to Try If the Document Opens But Exhibits Unexpected BehaviorMethod 1: Convert the file to another format, and then convert it back to Word.This is the easiest and most complete document recovery method; always try it first. Save the file in RTF file format; this format preserves the formatting in your Microsoft Word for Windows document. After you save the file in RTF format, re-open the document in Word for Windows, and convert it from RTF. If this method succeeds, the file corruption is removed during conversion. If the corruption persists after you save the file in RTF file format, try saving the file in the following file formats: Other word-processing formatsNOTE: Saving files in Text Only format frequently corrects the document corruption problem; however, all document formatting is lost. This method requires more reformatting; therefore, use it only after other file formats fail to correct the problem. For information about loss of VBA code in Word 97 documents that are converted to other file formats, please see the following article in the Microsoft Knowledge Base: Q158060 WD97: VBA Code Lost After Converting to Another Document Format Method 2: Copy everything except the last paragraph mark to a new document. Word for Windows associates a wide variety of formatting with the last paragraph mark, especially section and style formatting. If you copy everything except the last paragraph mark to a new document, the corruption may be left behind in the original document. In the new document, reapply the section or style formatting. NOTE: You can select everything except the last paragraph mark by pressing CTRL+END and then CTRL+SHIFT+HOME. Method 3: Copy the undamaged portions of the document to a new document. Sometimes you can determine the location of file corruption in your document. In such cases, copy everything except the damaged portion to a new file, and then use the following steps to reconstruct your document:
Things to Try If the Document Will Not OpenThere are several techniques you can use to try to open a document that will not open. Which method you use depends on the nature and severity of the damage to your document and the nature of the behavior exhibited. Although many of these methods succeed regularly, not every damaged document can be recovered.Method 1: Open the damaged Word document in draft mode. Sometimes you can open a document in draft mode when it will not open in other views. After you open the file, you may be able to recover or repair the file. To switch to draft mode in Word:
The final paragraph mark in a Word document contains information about the document. If the document is damaged, you may be able to retrieve the text of the document if you can omit this final paragraph mark. To access a document but leave its final paragraph mark behind, use the following steps:
Method 3: Open the file by linking to it. If the "Insert the Document as a File in a New Document" (Method 2) doesn't work, try this method. This method allows you to access the document without bringing over the final paragraph mark. In addition, when you create a link, part of the header information is not read. This method allows you to open the file if this part of the header or if the final paragraph mark is in the damaged area of the document. Use the following steps to link to a "good: file (a file that has not been corrupted) and then change the link to point to the damaged file:
Method 4: Open the file in WordPad or Microsoft Write. When you cannot open a damaged document in Word for Windows (usually because of corruption in the file header), you can strip out the file header and open the file as Text Only. When you strip the header information, all formatting is lost. This method strips out the file header information.
NOTE on Tables: Microsoft WordPad 1.0 can read and write Word 6.x and later file formats, automatically converting the file and retaining such formatting as WordPad itself supports. A document that cannot be opened will often open in WordPad. Tables will be converted to tab-delimited text but will retain the basic tabular structure of the table; this is often the only way to recover a corrupted table. Method 5: Strip out the file header information. NOTE: This method works with MS-DOS versions 3.0 to 6.2 only. Use this method only if all other methods fail. When you cannot open a damaged document in Word for Windows (usually because of corruption in the file header), you can strip out the file header and open the file as Text Only. When you strip the header information, all formatting is lost.
Q71999 WD97: How to Disable the Fast Save Option in Word for WindowsMethod 6: Use the "Recover Text from Any File" Converter. The Recover Text from Any File converter allows you to extract the text from any file. The file does not have to be a Word file. Using the Recover Text from Any File converter has some limitations. Document formatting is lost, along with anything that is not of a text nature. Graphics, fields, drawing objects, and so on, are lost. However, headers, footers, footnotes, endnotes, and field text are retained as simple text. In addition, after the document is recovered using the Recover Text from Any File converter, there will be some binary data that could not be converted, primarily at the top and bottom of the document. This binary data needs to be deleted before you reformat and save your file as a Word document. For additional information about how to use the "Recover Text From Any File" converter in Word 97, please click the article number(s) below to view the article(s) in the Microsoft Knowledge Base: Q156573 WD97: How to Recover Text from Any File Additional query words: garbage locked hung stop stopped crashed corrupt frozen nothing damaged damage troubleshoot tshoot corrupted
Keywords : kbtshoot kbualink97 word97 |
Last Reviewed: November 24, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |