Only display Pg 1 number when more than 1 page

R

Rebekah

We're in the process of upgrading to Word 2007 and I'm currently looking at
how to migrate/update our templates.

One annoyance I've had is the old way our firm handled page numbering - we
used to manually type ".../#" at the bottom of each page. Obviously
everything needed to be reformatted if text was changed.

At the moment I've created a footer that shows Page X of Y commencing page 2
with the first page being different. However, I'd also like to have Page 1
of Y showing IF there's more than 1 page. Is there a way to do this?
 
S

Suzanne S. Barnhill

Yes. You need an IF field:

{ IF { NUMPAGES } > 1 "Page { PAGE } of { NUMPAGES }" }
 
R

Rebekah

I added this to my template however it's returning NUMPAGES.

Are the spaces before & after the fields important? I've tried keeping the
spaces and removing the spaces to no effect. I also tried another IF field
after further research in the discussion groups but none of them seem to work
properly - rather frustrating!
 
S

Suzanne S. Barnhill

You should be getting the number of pages as your Y. Are you getting the
text "NUMPAGES" instead? If so, did you insert all the fields using Ctrl+F9?
The space before and after > shouldn't matter; you do need a space between
the IF condition formula and the TrueText (the part in quotes), and of
course the spaces that are part of the TrueText.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
R

Rebekah

Thanks for the quick reply. I worked out what the problem was... I had
copied/pasted the entire text into ONE field, instead of inserting separate
fields for the page numbering too (oops).
 

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