Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
page numbering
I need to format two separate page numbers on a document. On the right side,
page # of (total no. of document). On the left side, page # of (total no. of each section). I have tried formatting the right side first, then making sections and adding page numbers for sections but the right side starts over at 1 at each section. |
#2
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
page numbering
Hi VLW,
The page count for a Document can be obtained with the NUMPAGES field, whilst the page count for a Section can be obtained with the SECTIONPAGES field. The PAGE field simply returns the current page count, and can be formatted to start from any number in any Section. If you want a current page count for both the document and the Section, you can use the PAGE field for the former and the following field code, in each Section's header or footer, for the latter: {QUOTE{IF{PAGE}= 1 {SET Section0 0}} {IF{PAGE}{NUMPAGES} {IF{={SECTIONPAGES}+{REF {QUOTE Section{={SECTION}-1}}}}={PAGE} {SET {QUOTE Section{SECTION}} {PAGE}}}} "Page {={PAGE}-{REF {QUOTE Section{={SECTION}-1}}}} of {SECTIONPAGES}"} Note: The field brace pairs (ie '{ }') for the above example are created via Ctrl-F9 - you can't simply type them or copy & paste them from this message. -- Cheers macropod [MVP - Microsoft Word] "VLW" wrote in message ... I need to format two separate page numbers on a document. On the right side, page # of (total no. of document). On the left side, page # of (total no. of each section). I have tried formatting the right side first, then making sections and adding page numbers for sections but the right side starts over at 1 at each section. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How can you make page numbering start page 1 on actual page 5? | Page Layout | |||
Table of contents numbering not consistent with page numbering format | Tables | |||
How do I restart page numbering when numbering sections differentl | Microsoft Word Help | |||
Page numbering to be Page X of Y with Odd Page section break | Page Layout | |||
I want two pages with no numbering and then start page numbering. | Microsoft Word Help |