What causes this is when a person uses a newer version of MS Word, then takes the file and uses it in the older version of Word. In other words, using the new version brings in style definitions within the file that the old version doesn't understand and cannot interpret.
To fix this, you can go to the Styles and Formatting pane, select Show: Custom. IN the Style window that appears, find all instances of the char style and delete them. If you cannot delete one of them (which happens to me often), you can run a macro to remove it. Here are the directions:
- Open the document
- Go to the “Format” menu and select “Styles and Formatting”.
- In the “Styles and Formatting” task pane, go down to the “Show” list and select “Custom”.
- Locate each of the corrupt char styles in the list and click the checkbox next to its name so it is enabled
- Click the “Styles” button on the bottom left of the dialog.
- Locate each of the corrupt char styles.
- Highlight each of the corrupt style, one at a time, then click the “Delete” button.
- If any of the char styles remain undeleted, highlight the entire name of that style and copy it.
- Click “Apply” to close the dialog.
- You can then paste the name between the parentheses below, where it says “PASTE EXACT NAME OF CHAR STYLE”.
- Copy the entire area below from before the first “Sub” to after the second “Sub”.
Dim styl As Word.Style, doc As Word.Document
Set doc = ActiveDocument
Set styl = doc.Styles.Add(Name:="replaced")
On Error Resume Next
doc.Styles("PASTE EXACT NAME OF CHAR STYLE").LinkStyle = styl
- Go back to your document containing the char style.
- Go to the “Tools” menu, then “Macro”, then “Visual Basic Editor”.
- In the “Project” pane on the left, open “Microsoft Word Objects” and double-click “ThisDocument” under the Project you are working in. (the name of your document will show next to the Project).
- Paste the code you copied.
- Click the “Save” icon in the Visual Basic editor.
- Close the Visual Basic Editor.
- In your document, right-click on the char style name in the “Styles and Formatting” pane.
- Select “Delete”.
- Click within your document, away from the “Styles and Formatting” pane so the style name disappears.
- Go to “Tools” – “Macro” – “Macros”.
- In the “Macros in” drop-down, select the name of the document you are working on.
- Click on the “DeleteChar” macro and select “Run”.
- Save your document.
- Reopen and verify the char style is gone by going to “Styles and Formatting” – “Show” – “Custom” and making sure it is gone from the list of styles.
- Go to “Tools” – “Macro” – “Visual Basic Editor” and locate the macro. Delete all text and resave your document.
- Review your document and make sure the correct styles are applied to all text.