Page number

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using Word 97 and 2000. How can I delete the field indicating the number
of the following page (= page number + 1) so it does not show on the last
page of the document (example at the bottom of the first page of a document I
would put .../2 and obviously I do not want it to appear on the last page of
the document since there is no next page).
 
You can use an IF field in which you compare {page} to {numpages}. If I
understand correctly, you want 2/3 on page 2, 3/4 on page 3, etc. If that's
correct, the following convolution of fields should give you what you want:

{page}{if {page} < {numpages} "/{={page} + 1} ""}

If page < numpages, then you want /page+1 to appear. If page = numpages,
then you want nothing to appear after the page number, hence "" in the
"false slot. Note the the syntax for an IF field is:

IF expression1 operator expression2 truetext falsetext

I hope this helps. Note that if you don't have a space around both sizes of
the operator, it probably won't work right.
 
Take a look at http://www.mvps.org/word/FAQs/Numbering/PageNumbering.htm.
For even more, see http://gregmaxey.mvps.org/Page_Numbering.htm.


--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

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


--------- --------- --------- --------- --------- ---------
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.
 

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

Back
Top