How to insert automatic sequence number in header

D

dotnetjunky

Hi experts,

How can I insert an automatic sequence number in the header of each page ? Basically, what I want to do is to insert chapter number in the header of every page. This is different from page number because all pages belonging to the same chapter will share the same chapter number (I separate chapters by section breaks).

I have tried using SEQ field as below, but received this message "Error! Main Document Only":

{ SEQ chapter \* CardText }

Anyone who knows how to accomplish my task please share your solution. Thanks in advance.
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

From the Insert menu, select Page Numbers and then click on the Format
button and check the Include Chapter Number box. Then click on OK and then
Close

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 
D

dotnetjunky

Hi

I had thought of it before, but the problem is that I don't use built-in Heading styles for my chapter titles. Which means Word does not recognize my Chapter boundaries and this solution does not work. Is there any other way around this issue

Thanks for your reply

Dotnetjunky
 
G

Graham Mayor

Format the Chapter titles with a dedicated paragraph style then use a
Styleref field in the header - this will change every time the chapter
changes. There is no real nead to separate the chapters into sections.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP

Web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
 
Top