Reply
 
Thread Tools Display Modes
  #1   Report Post  
Kamran
 
Posts: n/a
Default Page numbering adding sections together

I am using a Page X or Y format.
I need the Y to have the total number of pages for Sections 3, 4 and 5 of
the document. Is it possible to add the value using SECTIONPAGES for three
sections?
Thanks,
Kamran.
  #2   Report Post  
Jay Freedman
 
Posts: n/a
Default

Kamran wrote:
I am using a Page X or Y format.
I need the Y to have the total number of pages for Sections 3, 4 and
5 of the document. Is it possible to add the value using
SECTIONPAGES for three sections?
Thanks,
Kamran.


Hi Kamran,

You can't do it that way, because anywhere that you use a SECTIONPAGES field
it will evaluate to the number of pages in that section. There's no way to
say something like {SECTIONPAGES Section 3} + {SECTIONPAGES Section 4} +
{SECTIONPAGES Section 5}.

What you can do (assuming page numbering restarts at 1 in Section 3 and
continues through Section 5) is place a bookmark on the last page of Section
5. Let's say you name that bookmark LastPage. Then in your Page X of Y
format, make Y be represented by the field {PAGEREF LastPage}. You do have
to be careful not to delete the bookmark, to avoid "Page X of ERROR!
Bookmark not defined!"

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org


  #3   Report Post  
Kamran
 
Posts: n/a
Default

Thanks, Jay. I was afraid that would be the case. The PAGEREF field works
great.

"Jay Freedman" wrote:


Hi Kamran,

You can't do it that way, because anywhere that you use a SECTIONPAGES field
it will evaluate to the number of pages in that section. There's no way to
say something like {SECTIONPAGES Section 3} + {SECTIONPAGES Section 4} +
{SECTIONPAGES Section 5}.

What you can do (assuming page numbering restarts at 1 in Section 3 and
continues through Section 5) is place a bookmark on the last page of Section
5. Let's say you name that bookmark LastPage. Then in your Page X of Y
format, make Y be represented by the field {PAGEREF LastPage}. You do have
to be careful not to delete the bookmark, to avoid "Page X of ERROR!
Bookmark not defined!"

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
X of Y Page Numbering - Sections - TOC DataRanger Microsoft Word Help 1 January 11th 05 09:08 PM
How do I set TOC Page Numbering using (Page x of y) and sections? DataRanger Microsoft Word Help 0 January 11th 05 03:27 PM
How do I change page numbering and locations in document sections. Geo Microsoft Word Help 1 January 8th 05 02:08 AM
Need help "fooling" Word with Page Numbering jdkelley Microsoft Word Help 1 December 13th 04 10:26 PM
page numbering jeanne Page Layout 4 December 3rd 04 08:47 AM


All times are GMT +1. The time now is 09:58 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"