Need Chapter page # as well as overall page #

D

Don Y.

I have several separate documents (chapters) that each have sequential page
numbering. I ALSO need to add an overall document page number.
Example:
Ch 1 - page 1 [1]
Ch 1 - page 2 [2]
....
Ch 2 - page 1 [11]
Ch 2 - page 2 [12]
....

p.s. I read the other messages about Master Documents and will be avoiding
them by building one composite document. by Inserting each document into the
composite.
 
D

Doug Robbins

Insert a bookmark at the end of each chapter and then to get the overall
page number, use a field calculation { = } to add the pagenumber of the
bookmark to the current pagenumber in the next section.

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 
D

Don Y.

Doug, Thanks for the reply. Conceptually I understand what you're suggesting
but I don't understand the mechanics of it. I am new to field codes. I know
how to create the bookmarks and also know how to add a page number to each
chapter footer that re-sets to 1 (so each of my chapters is page 1 to X).
What I don't know is how to build the field code that gets the page number of
the Bookmark.

For example, if my Chapter 1 has 10 pages and I set a bookmark called "Ch1"
on the last page, what would be the field code for the footer in Chapter 2
look like? I want a centered footer that says "Chapter 2 - Page x" and an
outside footer (left/right switching) that is the overall page number for the
manual. So for my example, the first page of Chapter 2 would say "Chapter 2
- Page 1 ... Page 11". Thanks again for your assistance. --Don
 
D

Doug Robbins

{ = { PAGEREF Ch1 } + { PAGE } }

You must use Ctrl+F9 to insert each pair of { } and Alt+F9 to toggle off the
field codes and F9 to update the fields.

Alternatively it might be simpler to leave the page numbering continuous
from one section to the next and to get the numbering within each section
use

{ = { PAGE } - { PAGEREF Ch1 } }

With the first method, you must add all of the PAGEREF fields from the
previous chapters

{ = { PAGEREF Ch1 } + { PAGEREF Ch2 } + .... + { PAGE } }

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 
D

Don Y.

THANK YOU! I made a slight modification that worked better for me.

1. I put a bookmark on the FIRST page of my document.
2. I added { = {PAGE} - {PAGEREF Ch1} + 1} to the footer.
3. I add Section Breaks - Next Page between documents and Insert File to
combine the documents.

Only took a minute to create the composite document. Will be easy to update
when chapter changes are made. My modification allows the field code to
display correctly in the separate document. Otherwise, it referred to a
bookmark that didn't exist and gave me syntax errors.

Thanks again. This forum is great!!
--Don
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top