Tuesday 24 September 2019

MS Word field code error - "Error! No text of specified style in document"


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?



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.


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...