Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-21-2014, 11:04 AM
Cosmo Cosmo is offline Page number in section - Page X of Y Windows Vista Page number in section - Page X of Y Office 2007
Competent Performer
Page number in section - Page X of Y
 
Join Date: Mar 2012
Posts: 240
Cosmo is on a distinguished road
Default 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?
Reply With Quote
  #2  
Old 02-21-2014, 11:57 AM
Cosmo Cosmo is offline Page number in section - Page X of Y Windows Vista Page number in section - Page X of Y Office 2007
Competent Performer
Page number in section - Page X of Y
 
Join Date: Mar 2012
Posts: 240
Cosmo is on a distinguished road
Default

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.
Reply With Quote
  #3  
Old 02-21-2014, 08:14 PM
Charles Kenyon Charles Kenyon is offline Page number in section - Page X of Y Windows 7 64bit Page number in section - Page X of Y Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

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
Reply With Quote
  #4  
Old 02-24-2014, 07:44 AM
Cosmo Cosmo is offline Page number in section - Page X of Y Windows Vista Page number in section - Page X of Y Office 2007
Competent Performer
Page number in section - Page X of Y
 
Join Date: Mar 2012
Posts: 240
Cosmo is on a distinguished road
Default

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?
Reply With Quote
  #5  
Old 02-24-2014, 09:45 AM
Charles Kenyon Charles Kenyon is offline Page number in section - Page X of Y Windows 7 64bit Page number in section - Page X of Y Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Quote:
Originally Posted by Cosmo View Post
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?
There probably is, but it isn't something I know how to do off-hand. It would involve a fairly hairy macro, I suspect.
Reply With Quote
  #6  
Old 02-24-2014, 01:58 PM
macropod's Avatar
macropod macropod is offline Page number in section - Page X of Y Windows 7 32bit Page number in section - Page X of Y Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Cosmo View Post
Is there any way to determine the pages' position in the document with an unknown variable # of sections in the document?
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]
Reply With Quote
  #7  
Old 02-24-2014, 02:50 PM
Cosmo Cosmo is offline Page number in section - Page X of Y Windows Vista Page number in section - Page X of Y Office 2007
Competent Performer
Page number in section - Page X of Y
 
Join Date: Mar 2012
Posts: 240
Cosmo is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Not in a dynamic sense.
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.

Quote:
Originally Posted by macropod View Post
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.
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.
Reply With Quote
  #8  
Old 02-24-2014, 03:02 PM
macropod's Avatar
macropod macropod is offline Page number in section - Page X of Y Windows 7 32bit Page number in section - Page X of Y Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Cosmo View Post
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.
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]
Reply With Quote
  #9  
Old 02-25-2014, 12:02 AM
eNGiNe eNGiNe is offline Page number in section - Page X of Y Windows 7 32bit Page number in section - Page X of Y Office 2010 64bit
Expert
 
Join Date: Jan 2012
Location: Brussels [BE]
Posts: 746
eNGiNe is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
question you need to resolve is whether it's worth the effort.
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)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Page number in section - Page X of Y Delete a page after Section Break Next Page Aston Word 9 04-27-2022 07:38 AM
Page number in section - Page X of Y 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
Page number in section - Page X of Y begin each section with page 1 in header PLUS continuous page numbering in footer onemorecupofcoffee Word 18 09-04-2013 04:31 PM
Page number in section - Page X of Y Page 2 Section Header not same as Page 1 Same Section Lakey Word 4 08-07-2012 08:42 PM
Page number in section - Page X of Y How to Restore Page Margin Page Number Styles in Word 2010 cheech1981 Word 5 11-15-2011 04:16 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:34 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft