Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Page Number in Section Footer
Hi - I am working with a document that has a TOC as the first page and there
are ve several section breaks. I can change the "first page number" in the footer, however the "second page number" continues to count all the pages in the document. How do I get this number to read Page 1 of "2" instead of Page 1 of "5"? Thanks! -- Professional Flower |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Page Number in Section Footer
In Page X of Y, the "Y" part is a NUMPAGES field (press Alt+F9 to toggle
display of field codes). Sometimes, for example if you have a two-section document and you want to count only the number of pages in one section, you can replace NUMPAGES with a SECTIONPAGES field. In this case, since you seem to have more than two sections, you will have to perform a calculation via a formula field. The simplest case is if there is a fixed number of pages that should be ignored when counting; then you could just subtract that number from NUMPAGES. For example: { = { NUMPAGES } - 3 }. In more complex cases, you can calculate the page numbers of the sections to be excluded (using the SECTIONPAGES field) and then subtract that from NUMPAGES. For example, in section 1 insert this SET field: { SET pagecount1 { SECTIONPAGES } } and in section 2: { SET pagecount2 { SECTIONPAGES } } In the footer: { = { NUMPAGES } - { pagecount1 } - { pagecount2 } } Use Ctrl+F9 to insert each pair of field delimiters, { }, and type the code as shown. Press F9 to update. Use Alt+F9 to show/hide field codes. Note that in order to update all fields in a document, you will have to select the contents first (for example via Ctrl+A); then you can press F9. -- Stefan Blom Microsoft Word MVP "Professional Flower" wrote in message ... Hi - I am working with a document that has a TOC as the first page and there are ve several section breaks. I can change the "first page number" in the footer, however the "second page number" continues to count all the pages in the document. How do I get this number to read Page 1 of "2" instead of Page 1 of "5"? Thanks! -- Professional Flower |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Page Number in Section Footer
EXCELLENT! Thank you, Stefan.
-- Professional Flower "Stefan Blom" wrote: In Page X of Y, the "Y" part is a NUMPAGES field (press Alt+F9 to toggle display of field codes). Sometimes, for example if you have a two-section document and you want to count only the number of pages in one section, you can replace NUMPAGES with a SECTIONPAGES field. In this case, since you seem to have more than two sections, you will have to perform a calculation via a formula field. The simplest case is if there is a fixed number of pages that should be ignored when counting; then you could just subtract that number from NUMPAGES. For example: { = { NUMPAGES } - 3 }. In more complex cases, you can calculate the page numbers of the sections to be excluded (using the SECTIONPAGES field) and then subtract that from NUMPAGES. For example, in section 1 insert this SET field: { SET pagecount1 { SECTIONPAGES } } and in section 2: { SET pagecount2 { SECTIONPAGES } } In the footer: { = { NUMPAGES } - { pagecount1 } - { pagecount2 } } Use Ctrl+F9 to insert each pair of field delimiters, { }, and type the code as shown. Press F9 to update. Use Alt+F9 to show/hide field codes. Note that in order to update all fields in a document, you will have to select the contents first (for example via Ctrl+A); then you can press F9. -- Stefan Blom Microsoft Word MVP "Professional Flower" wrote in message ... Hi - I am working with a document that has a TOC as the first page and there are ve several section breaks. I can change the "first page number" in the footer, however the "second page number" continues to count all the pages in the document. How do I get this number to read Page 1 of "2" instead of Page 1 of "5"? Thanks! -- Professional Flower |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Page Number in Section Footer
I'm glad I could help.
-- Stefan Blom Microsoft Word MVP "Professional Flower" wrote in message ... EXCELLENT! Thank you, Stefan. -- Professional Flower "Stefan Blom" wrote: In Page X of Y, the "Y" part is a NUMPAGES field (press Alt+F9 to toggle display of field codes). Sometimes, for example if you have a two-section document and you want to count only the number of pages in one section, you can replace NUMPAGES with a SECTIONPAGES field. In this case, since you seem to have more than two sections, you will have to perform a calculation via a formula field. The simplest case is if there is a fixed number of pages that should be ignored when counting; then you could just subtract that number from NUMPAGES. For example: { = { NUMPAGES } - 3 }. In more complex cases, you can calculate the page numbers of the sections to be excluded (using the SECTIONPAGES field) and then subtract that from NUMPAGES. For example, in section 1 insert this SET field: { SET pagecount1 { SECTIONPAGES } } and in section 2: { SET pagecount2 { SECTIONPAGES } } In the footer: { = { NUMPAGES } - { pagecount1 } - { pagecount2 } } Use Ctrl+F9 to insert each pair of field delimiters, { }, and type the code as shown. Press F9 to update. Use Alt+F9 to show/hide field codes. Note that in order to update all fields in a document, you will have to select the contents first (for example via Ctrl+A); then you can press F9. -- Stefan Blom Microsoft Word MVP "Professional Flower" wrote in message ... Hi - I am working with a document that has a TOC as the first page and there are ve several section breaks. I can change the "first page number" in the footer, however the "second page number" continues to count all the pages in the document. How do I get this number to read Page 1 of "2" instead of Page 1 of "5"? Thanks! -- Professional Flower |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Chapter Number in the Header and Page number in the footer | Microsoft Word Help | |||
why does page number revert to earlier number after section chang. | Page Layout | |||
Printing returns old section number in footer | Page Layout | |||
Pick Up Section/Subsection Number In Footer And Section Name In He | Microsoft Word Help | |||
How do I insert chapter number with page number in footer? | Microsoft Word Help |