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
|
|||
|
|||
page number, total pages, section page number and total section pa
I need to add the page number {Page}, total pages (NumPages), section page
number {Page} and total section pages {Section Pages} in one Word document. But it fails. When I set the section page number, then the page number change to the section page number. How can I do? |
#2
|
|||
|
|||
page number, total pages, section page number and total section pa
To get both the page number of the total pages in the document and the page
number in the section, you will need to bookmark the end of each section and use for the page number in the section a Field construction that subtracts the { PAGEREF bookmarkname } from the { PAGE } { = { PAGE } - { PAGEREF bookmarknameforbookmarkatendofprevioussection } } -- Hope this helps, Doug Robbins - Word MVP Please reply only to the newsgroups unless you wish to obtain my services on a paid professional basis. "CR" wrote in message ... I need to add the page number {Page}, total pages (NumPages), section page number {Page} and total section pages {Section Pages} in one Word document. But it fails. When I set the section page number, then the page number change to the section page number. How can I do? |
#3
|
|||
|
|||
page number, total pages, section page number and total section pa
Hi CR,
For the X of Y Section page numbering, you can use a field coded as: {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. For the X of Y Document page numbering, you can then use the standard {PAGE} & {NUMPAGES} fields. -- Cheers macropod [Microsoft MVP - Word] "CR" wrote in message ... I need to add the page number {Page}, total pages (NumPages), section page number {Page} and total section pages {Section Pages} in one Word document. But it fails. When I set the section page number, then the page number change to the section page number. How can I do? |
Thread Tools | |
Display Modes | |
|
|