Use StyleRef to display Heading number

gailb
3StarLounger
Posts: 254
Joined: 09 May 2020, 14:00

Use StyleRef to display Heading number

Post by gailb »

I've used this before in another document, but for some reason, in this document it does not want to work. As you can see, after paragraph one I'm using the StyleRef to return that paragraph number. It works fine for the first instance, but after that it just returns a zero. It does the same for all the other paragraphs. I'm sure I'm missing something simple here, but am missing it.
You do not have the required permissions to view the files attached to this post.

User avatar
StuartR
Administrator
Posts: 12577
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: Use StyleRef to display Heading number

Post by StuartR »

Your styleref fields are also formatted as heading 1
If you format them as Normal then you get the result you expect
StuartR


gailb
3StarLounger
Posts: 254
Joined: 09 May 2020, 14:00

Re: Use StyleRef to display Heading number

Post by gailb »

Thank you Stuart. Works great.