Scenario
If you run a comparison with a corrupt Word document (DOCX, DOC, RTF), you may experience one or more of the following issues:- The documents fail to compare. Additionally the resulting RTF crashes Microsoft Word or is 0 bytes.
- The redline fails to load or does not behave as expected.
Note: To learn more about about document corruption, visit Microsoft's site.
Resolution
If you have any clean-up/conversion software (e.g. Microsystems DocXTools), you can run it. If you don't, follow the steps below to manually clean up the document.1. Repair the document
- Open Microsoft Word.
- Go to File > Open.
- Browse to the corrupt document. Select the document, but don't open it yet.
- On the Open button, click the down arrow and select Open and Repair.
Note: If the Show Repairs dialog appears, close it.
- Save the repaired document with a new name. Run a comparison with the repaired document to see if the issue persists.
2. Apply the Normal style
- Open the document in Microsoft Word.
- Apply the Normal style to all text in the document:
- Highlight all the text in the document (Ctrl + A).
- Click the Home tab.
- In the Styles group, click the More arrow.
- Click Clear Formatting. The Normal style is applied.
- Double-click the Header or Footer.
- Delete any items (such as pictures or objects) from the Header and Footer.
- Clear the formatting for any text in the Header and Footer by following steps c and d.
- Delete all styles from the document.
- Delete all fields from the document:
- Click the Home tab.
- In the Editing group, click Replace. Find and Replace opens.
- In Find what, type ^d.
- Leave Replace with blank.
- Click Replace All.
- Remove any directly applied character formatting:
- Select all text (Ctrl + A).
- Remove the formatting (Ctrl + Space).
- Re-apply the correct language proofing:
- Select all text (Ctrl + A).
- Click the Review tab.
- In the Language group, click Language and select Set Proofing Language.
- Choose your proofing language.
- Click OK.
- Convert any tables to text.
- Copy all text except for the last paragraph marker and paste it into a new document as unformatted text:
- Go to the end of the document (Ctrl + End).
- Select all text before this part (Ctrl + Shift + Home).
- Copy it (Ctrl + C).
- Create a new document (Ctrl + N).
- In the new document, right click and select the Keep Text Only paste option.
- Re-apply any styles you'd like to keep.
- Save the document.
- Run a comparison with the new document to see if the issue's resolved.