Page numbering in footer problem

  • Thread starter Thread starter Pivert
  • Start date Start date
P

Pivert

Hi,

I have a reference manual.

First page and TOC are numbered i to xv.
The I start anew section at page break, and in the footer start new
numbering at 1, in format page x of total
That is OK, except the total number of page that shows is teh number of 1
............> 333 PLUS the i to xv pages.
I would like to display the total number of pages part of the body of the
text only dynamically ( so that when I add pages it continues to
autoupdate).

Possible or dream ?

Thanks !
Phil
 
Hi Phil

If you really only have two sections in your document, then you can use
{ SECTIONPAGES } instead of { NUMPAGES } for the y in "x of y". But that
will break if for some reason you need to add a new section (eg to
insert a landscape page, or to use columns).

Alternatively, if the front matter will always be exactly 15 pages, then
you could use { = { NUMPAGES } - 15 } to create the y.

If neither of those will work, then you need something more complex. The
following is not very elegant, but it should work.

1. Go to the end of the front matter text. In the text (ie not in the
header or footer), create a { PAGE \* Arabic } field. Select it, then
Insert > Bookmark. Give the bookmark a name such as EndOfFrontMatter.
Press F9 to calculate the field, which in your case should say "15".

2. Select this text and mark it as hidden text. (You may want to ensure
that Tools > Options > View has ticked the Hidden Text box, to prevent
deleting this page number accidentally. But turn off viewing of hidden
text to print.)

3. In the footer of subsequent sections in the document, use the
following as the y in "x of y":
{ = { NUMPAGES }-{=EndOfFrontMatter} }

Note that you can't type the {} braces by hand. You must use ctrl-F9 and
type between the braces that Word inserts for you. Once you've typed the
field, use F9 to update it, or ctrl-a F9 to update all fields in the
document. And use Alt-F9 to toggle between displaying all fields and
displaying all results of fields.

The following includes material about numbering front matter, which may
also be useful:
http://word.mvps.org/FAQs/Formatting/NumberingFrontMatter.htm

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
Melbourne, Australia
 
Pivert,

What happens when you change your second section footer to {Page} of
{SectionPages} ?

The { } are inserted using CTRL+F9.
 
Thanks to both. Will try !
Greg Maxey said:
Pivert,

What happens when you change your second section footer to {Page} of
{SectionPages} ?

The { } are inserted using CTRL+F9.

--
Greg Maxey
A peer in "peer to peer" support
Rockledge, FL
To e-mail, edit out the "w...spam" in (e-mail address removed)
 
It is not necessary to insert a hidden PAGE field on the last page of the
front matter. Just insert a bookmark there and use a PAGEREF field in your
calculated NUMPAGES field:

{ = { NUMPAGES } - { PAGEREF EndOfFrontMatter} }

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Back
Top