Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Numbering / July 2004

Tip: Looking for answers? Try searching our database.

Page numbering (XofY)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rekoop - 30 Jun 2004 16:03 GMT
Hello,
I have a document with three sections.  The first two
sections have continuous page numbering with XofY format
with the Y factor being the total of number of pages in
the first two sections.  Currently I am using the
following code: {Page} of {={NumPages}-3} where the 3 is
the total number of pages in the final (3rd) section of
the document.

Can I replace the finite "3" with some code that "reads"
the number of pages in a particular section.  My current
code is useless if the final section of the document
varies in the number of pages.

Thanks
Suzanne S. Barnhill - 01 Jul 2004 04:45 GMT
One way to do this is to use a PAGEREF field referring to a bookmark on the
last page of the section, but this will work only if the numbering is
restarted in that section (so that the page is numbered 3 or whatever), and
keeping a bookmark in any given location (without inadvertently either
moving or deleting it) is no mean trick.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Signature

Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.


> Hello,
> I have a document with three sections.  The first two
[quoted text clipped - 11 lines]
>
> Thanks
Jean-Guy Marcil - 01 Jul 2004 05:01 GMT
Bonjour,

Dans son message, < Suzanne S. Barnhill > ?crivait :
In this message, < Suzanne S. Barnhill > wrote:

|| One way to do this is to use a PAGEREF field referring to a bookmark on
the
|| last page of the section, but this will work only if the numbering is
|| restarted in that section (so that the page is numbered 3 or whatever),
and
|| keeping a bookmark in any given location (without inadvertently either
|| moving or deleting it) is no mean trick.

A little trick here is to bookmark the Section break itself. If you delete
the bookmark, you are bound to notice!

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org

Suzanne S. Barnhill - 01 Jul 2004 14:07 GMT
Good idea!

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Signature

Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.


> Bonjour,
>
[quoted text clipped - 18 lines]
> jmarcilREMOVE@CAPSsympatico.caTHISTOO
> Word MVP site: http://www.word.mvps.org
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.