Page Numbering in Headers

M

moe

Hi -- this is probably a simple solution, but I cannot figure it out. Duh! I have a simple Word document with a cover page, and then four pages of text that will be added to from time to time. I do not want a page number on the cover page, and the rest of the pages should show "Page 1 of 4" for the time-being (to not include the cover page as being an actual page), and the "4" should change automatically as I add additional text. I have set this up as a header, but I must be doing something wrong. Any help on how to set this up properly would be greatly appreciated. Thank you!
 
J

Jezebel

1. Go to File > Page Setup. On the Layout tab check the 'Different First
Page' checkbox.

2. Go to Insert > Page Numbers. Click the Format button. Enter 0 in the
Start At box. Click OK. Click Cancel.

3. Delete any header on the first page.

4. Add a header to page 2. To display the page count (total pages minus one)
you need to use a nested field:

{ = { NUMPAGES } - 1 }

You must press Ctrl-F9 to create the fields; not curly brackets from the
keyboard.




moe said:
Hi -- this is probably a simple solution, but I cannot figure it out.
Duh! I have a simple Word document with a cover page, and then four pages
of text that will be added to from time to time. I do not want a page
number on the cover page, and the rest of the pages should show "Page 1 of
4" for the time-being (to not include the cover page as being an actual
page), and the "4" should change automatically as I add additional text. I
have set this up as a header, but I must be doing something wrong. Any help
on how to set this up properly would be greatly appreciated. Thank you!
 
M

moe

Thanks, Jezebel, but I still can't get it to work. In the field that you say to use, is it exactly like you typed it -- with spaces throughout the whole thing?
 
G

Greg

Moe,

Nested fields can be tricky. Here is another approach:

- Put cursor at the bottom of the cover page and insert a
section break (INSERT>BREAK>Section Break>Next Page.

- View>Header and Footer (displays toolbar)
- Put your cursor in the header where you want numbering
to appear
- Verify header caption reads "Header-Section 3," if not,
use the show next to display the section 2 header
- Click the format page number icon and click the start at
radio button. Verify or make the display read 1 and click
OK.
- Type "Page " and then click the insert page number icon
- Type " of " and then click the insert number of pages
icon.
-Close the header and footer toolbar.

The icons mentioned are all on the header and footer
toolbar.

HTH

-----Original Message-----
Thanks, Jezebel, but I still can't get it to work. In
the field that you say to use, is it exactly like you
typed it -- with spaces throughout the whole thing?
 
J

Jezebel

Persevere. Despite Greg's mysterious caveat, there's nothing tricky about
nested fields: it's just one field inside another. The spaces are
irrelevant -- add them or not as you wish. But you must use Ctrl-F9 to
create the fields (or insert them from the INSERT menu). Typing curly
brackets does not work.

Can you create a NUMPAGES field on its own?





moe said:
Thanks, Jezebel, but I still can't get it to work. In the field that you
say to use, is it exactly like you typed it -- with spaces throughout the
whole thing?
 
G

Greg

Jezebel,

Your solution works fine. That doesn't change the fact
that with or without my caveat here you are explaining
your proposed solution again.

Why not just { IF {PAGE} > 1"Page{={PAGE}-1} of {=
{NUMPAGES}-1} Pages"} and avoid all the other steps?
Simple enough if you know how to do it.
 
J

Jezebel

Why not just { IF {PAGE} > 1"Page{={PAGE}-1} of {=
{NUMPAGES}-1} Pages"} and avoid all the other steps?
Simple enough if you know how to do it.

Occam's razor. The OP a) doesn't want a header on the first page, and b)
doesn't want to include the first page in the page counting. Your method
would get the header display right, but page numbers in TOC and
cross-references would all be out by one.
 
G

Greg Maxey

Jezebel,

The OP decribes a "simple" document and I thought he might be avoiding
nested fields, TOCs and cross references. The first method I suggested, as
an alternative to yours, does all three and seems to handle the last two.
The second method was deliberatly convoluted and as you defly pointed out
flawed in complex documents. Still, it was offered in jest.

The comment "Nested fields can be tricky" was not intended as concealed
criticism of your solution. It was more of a "Don't worry if you are having
trouble with a nested field Moe; there are alternatives." I hope that
clears up the ambiguity and smooths any ruffled feathers.

My email address, though munged, is evident below. If you would like to
continue our discussion, lets do it in a less public forum.
 
J

Jezebel

Greg, you didn't ruffle any feathers. It seemed to me that the OP's second
post suggested a problem creating fields at all ... in which case of course
neither solution will work. But having mastered the technique for inserting
a field, a nested field is no harder than any other, it seems to me.

But you're quite right, always good to look for alternatives.
 
Top