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?


{ 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.

  • Thanks - therefore I can solve the problem by deleting {STYLEREF 1\s} altoghether – atomh33ls Sep 5 '13 at 11:54
  • 1
    { STYLEREF 1 \s } just inserts the heading number from the preceding Heading 1 style, so if you do not have any Heading 1 style paragraphs, there would be no point having the STYLERF field. I guess the "," after it should also go. – user181946 Sep 5 '13 at 12:04

One other way to fix this is to insert a Heading 1 formatted line as hidden text. The error will disappear. I used "Hidden heading 1" so I would remember why it was there. Works on Word 2016.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.