#1
|
|||
|
|||
Page number in section - Page X of Y
I need to have a document show the page number in the range for the current section. I have gotten the page number (X) set properly, but I need the page count for the section (Y) to also show, but it only shows the total page count for the document. Example, I have a 4 page document, section 2 starts on page 2 to the end of the document, and should show 'Page 1 of 3', but it displays as 'Page 1 of 4'.
Is there something I can set to display the # of pages in the section, instead of the entire document? |
#2
|
|||
|
|||
I believe I found the answer, I need to use the 'SectionPages' field, but I believe that means the document, which was previously saved as a .doc for backwards compatabilty, now needs to be saved in the more current versions.
If anyone knows of another answer, preferrably one that works in a .doc file, please let me know. |
#3
|
|||
|
|||
SectionPages works in all versions of Word from Word 97 at least. You may also want to take a look at this which is about having both the section page number and the document page number showing on the same page. Downloads
|
#4
|
|||
|
|||
Thanks for the link. I had read that certain field functions were only available in 2010+, wasn't sure which ones they were.
Edit: Checking that link, I was interested in how it calculated the document page number in a section, but it appears it does so by adding up other calculated sections (i.e. = { Page } + { Sec1Pages } + { Sec2Pages } + { Sec3Pages } ) . Is there any way to determine the pages' position in the document with an unknown variable # of sections in the document? |
#5
|
|||
|
|||
Quote:
|
#6
|
||||
|
||||
Not in a dynamic sense. It could be done via a macro that populates a custom document property, for example, but you'd still need to tell the macro which Sections to exclude; fun if the document has counted an non-counted Sections interspersed.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#7
|
|||
|
|||
Thanks, if it's not possible dynamically, then it's not good for the task I would have, and I'd prefer not to use a macro as I have no control over the end use for this document.
I'm not trying to exclude any sectons, I was just hoping that there was a way to determine in a calculated field that the current page (e.g. page 4 of the current section) would be page 38 in the entire document, regardless of which section it is in, or where that section appears in the document. |
#8
|
||||
|
||||
There is, and Charles' link shows how. The question you need to resolve is whether it's worth the effort.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#9
|
|||
|
|||
While you're at it, consider whether the reader actually benefits from folio-by-chapter numbering. I'd sooner be directed to page 38, and look for one piece of information, than page 3-14 and have to look for two.
The hope that readers will diligently handle a new version by pulling out 6-18 to 6-24 and replacing them with the new 6-18 to 6-26, plus the updated table of contents … may be misplaced in all but the most disciplined environments. (and there's a cautionary tale somewhere on the Word MVP site about an Australian refinery accident caused by relying on it) |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Delete a page after Section Break Next Page | Aston | Word | 9 | 04-27-2022 07:38 AM |
First section will not 'insert' blank page even though sectn 2 is 'odd' page break | Pat_Hodgson | Word | 6 | 12-01-2013 04:22 PM |
begin each section with page 1 in header PLUS continuous page numbering in footer | onemorecupofcoffee | Word | 18 | 09-04-2013 04:31 PM |
Page 2 Section Header not same as Page 1 Same Section | Lakey | Word | 4 | 08-07-2012 08:42 PM |
How to Restore Page Margin Page Number Styles in Word 2010 | cheech1981 | Word | 5 | 11-15-2011 04:16 AM |