Word – MS Word field code error – “Error! No text of specified style in document”

microsoft wordmicrosoft-word-2007

I just opened a word document, in MS Word 2007, and the following error appears before the Figure and Table numbers:

Error! No text of specified style in document

The figure/table names code (after pressing alt-F9) looks like:

Table {STYLEREF 1\s},{SEQ Table\* ARABIC\s 1}

This error was not present when I worked on the file previously and I am the sole user of the file.

Why is this error occuring and what is the best way to troubleshoot/solve this problem?

Best Answer

{ STYLEREF 1 } is looking for a paragraph with the built-in style "Heading 1" (in English language versions of Word - if you are using another language version the heading styles may be named differently).

So if you don't have one of those, the { STYLEREF } field will flag the error you are seeing.