Thread: [Solved] Styleref field returns error
View Single Post
 
Old 10-21-2018, 12:29 PM
Levi92 Levi92 is offline Windows 10 Office 2016
Novice
 
Join Date: Oct 2018
Posts: 4
Levi92 is on a distinguished road
Default

Quote:
Originally Posted by Charles Kenyon View Post
The IF field in Word is case-sensitive. You need the field braces inserted by Word (not typed).

See Paul Edstein (macropod)'s answer here for the exact construction you need: https://answers.microsoft.com/en-us/...6-0f75eb57279e
Thanks for the quick reply, Charles!

I have seen that post, but it does not work for me.

I have attached a picture of my code. As you can see this outputs "Heading 1" even though there is currently no header in that document,
Attached Images
File Type: jpg test.png.jpg (30.3 KB, 18 views)
Reply With Quote