Doc. Page Nos. vs Sec. Page Nos.

Doc. Page Nos. vs Sec. Page Nos.

Post by SmltIERhaG » Fri, 22 Oct 2004 03:41:02


Thanks to all that reply.

Using Word 2002 in Windows 2000 / Office XP

I have a document with numerous sections and need to have the following:

Header - "Doc. Page X of XX"
Footer - "Sec. Page Y of YY"

X = specific document page number, XX = total number of pages in the document,
Y = specific section page number, YY = total number of pages in the section

I can get X (field code: { PAGE }), XX (field code: { NUMPAGES }), and YY
(field code: { SECTIONPAGES \# "0" \* Arabic \* MERGEFORMAT }).

How do I define "Y" to display the specific section page number that will
still allow X to be specific document page number.
 
 
 

Doc. Page Nos. vs Sec. Page Nos.

Post by Jay Freedm » Fri, 22 Oct 2004 05:21:33


Hi Jim,

This is going to take some work.

Place a bookmark on the last page of each section, named something like
"EndSecN" where N is the section number.

In the first section, the field for Y is the same as the one for X.

In each remaining section, the field for Y is
{ = { PAGE } - { PAGEREF EndSec(N-1) } }
so for example the one in section 3 will be
{ = { PAGE } - { PAGEREF EndSec2 } }

This requires that in each section after the first, the footer has the Same
As Previous property turned off. You'll have to be careful not to delete the
bookmarks or let them get onto pages before the last of the section, and
you'll have to remember to update fields as the document changes (most
easily by going to Print Preview and back, assuming you have the Tools >
Options > Print > Update fields option turned on).

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://www.yqcomputer.com/

 
 
 

Doc. Page Nos. vs Sec. Page Nos.

Post by Charles Ke » Fri, 22 Oct 2004 05:34:20

Answered duplicate post in numbering newsgroup.

In the Microsoft Word newsgroups it is considered bad form to post separate
messages to multiple newsgroups. If you need to post in more than one forum
(unusual) please post a single message with both forums in the header of
that single message. That way (1) your question and the various answers stay
together, (2) less space is used on the news servers, (3) less bandwidth is
used on the Internet, (4) you only have to check one forum for answers that
appear in both forums, and (5) you won't unnecessarily annoy the people you
are asking for help. This isn't meant to criticize you. We were all
beginners once and the only way to learn is to try. (BTW, a number of the
Microsoft newsgroups don't want posting in more than one newsgroup, period.
Check the FAQ.)
Take a look on the MVP FAQ website under "getting help" for more reasons ase
well as other suggestions for getting answers more easily and quickly. <URL:
http://www.yqcomputer.com/ ;



--

Charles Kenyon

Word New User FAQ & Web Directory: http://www.yqcomputer.com/

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://www.yqcomputer.com/

See also the MVP FAQ: http://www.yqcomputer.com/ !
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.



document,
section