If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Header / Style Ref / Page #
I have a looooooong document -- several volumes. I use Style Ref in the Header to pick up
Heading Style 4, which is the section number and title for each topic throughout the document. Some of these section topics are contained in only one page; others span several pages. I want to show a page number in the header and I want the numbering to restart with each section heading. To achieve this: Sec. 4.08 -- Offer Defined p. 4.08-1 p. 4.08-2 p. 4.08-3 ... etc. Can somebody help? |
#2
|
|||
|
|||
Header / Style Ref / Page #
In the Format Page Number dialog, set the numbering for each Section to
start at 1 To do this to every Section in your loooooong document, use a macro containing the following code: Dim i As Long, j As Long With ActiveDocument For i = 1 To .Sections.Count With .Sections(i) For j = 1 To .Headers.Count .Headers(j).PageNumbers.StartingNumber = 1 Next j End With Next i End With -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Fishy" wrote in message ... I have a looooooong document -- several volumes. I use Style Ref in the Header to pick up Heading Style 4, which is the section number and title for each topic throughout the document. Some of these section topics are contained in only one page; others span several pages. I want to show a page number in the header and I want the numbering to restart with each section heading. To achieve this: Sec. 4.08 -- Offer Defined p. 4.08-1 p. 4.08-2 p. 4.08-3 ... etc. Can somebody help? |
Thread Tools | |
Display Modes | |
|
|