A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Page Layout
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Omit last page in Page count



 
 
Thread Tools Display Modes
  #1  
Old February 16th, 2009, 04:31 PM posted to microsoft.public.word.pagelayout
ADavid
external usenet poster
 
Posts: 2
Default Omit last page in Page count

Hi,

Is there a way that I could omit the last page in the page count. ie.
If I have a doc with 5 pages, I want to number the pages this way: 1
of 4, 2 of 4, 3 of 4. not taking in count the last page.

Thanks for the help
  #2  
Old February 16th, 2009, 10:19 PM posted to microsoft.public.word.pagelayout
Jay Freedman
external usenet poster
 
Posts: 9,488
Default Omit last page in Page count

ADavid wrote:
Hi,

Is there a way that I could omit the last page in the page count. ie.
If I have a doc with 5 pages, I want to number the pages this way: 1
of 4, 2 of 4, 3 of 4. not taking in count the last page.

Thanks for the help


If you know that you need to exclude exactly one page, you can edit the
field code that provides that number.

First press Alt+F9 to expand field codes. You should see

Page {PAGE} of {NUMPAGES}

Type an equal sign to the left of the opening brace of {NUMPAGES} and
ype -1 to the right of the closing brace:

Page {PAGE} of ={NUMPAGES}-1

Select everything from the equal sign to the 1 (but no more) and press
Ctrl+F9 to make it into the field code for a formula field:

Page {PAGE} of {={NUMPAGES}-1}

Note that you can't make field braces by typing { } characters on the
keyboard; you must use Ctrl+F9.

Now press Alt+F9 again to collapse the field codes. You should have the
result you wanted.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.


  #3  
Old February 17th, 2009, 11:25 AM posted to microsoft.public.word.pagelayout
ADavid
external usenet poster
 
Posts: 2
Default Omit last page in Page count

Thanks Jay,

It worked ust fine, I'll have to lear to use those fields.

Thanks again!

On 16 feb, 18:19, "Jay Freedman" wrote:
ADavid wrote:
Hi,


Is there a way that I could omit the last page in the page count. *ie..
If I have a doc with 5 pages, I want to number the pages this way: * 1
of 4, 2 of 4, 3 of 4. not taking in count the last page.


Thanks for the help


If you know that you need to exclude exactly one page, you can edit the
field code that provides that number.

First press Alt+F9 to expand field codes. You should see

* *Page {PAGE} of {NUMPAGES}

Type an equal sign to the left of the opening brace of {NUMPAGES} and
ype *-1 to the right of the closing brace:

* *Page {PAGE} of ={NUMPAGES}-1

Select everything from the equal sign to the 1 (but no more) and press
Ctrl+F9 to make it into the field code for a formula field:

* *Page {PAGE} of {={NUMPAGES}-1}

Note that you can't make field braces by typing { } characters on the
keyboard; you must use Ctrl+F9.

Now press Alt+F9 again to collapse the field codes. You should have the
result you wanted.

--
Regards,
Jay Freedman
Microsoft Word MVP * * * *FAQ:http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.


  #4  
Old March 6th, 2009, 01:18 AM posted to microsoft.public.word.pagelayout
DaniMa
external usenet poster
 
Posts: 11
Default Omit last page in Page count

I had this same problem, and Jay you have answered it perfectly. Thanks for
explaining things in a way people like me, who just use Word basically to
write letters, can understand!

Cheers!

"Jay Freedman" wrote:

ADavid wrote:
Hi,

Is there a way that I could omit the last page in the page count. ie.
If I have a doc with 5 pages, I want to number the pages this way: 1
of 4, 2 of 4, 3 of 4. not taking in count the last page.

Thanks for the help


If you know that you need to exclude exactly one page, you can edit the
field code that provides that number.

First press Alt+F9 to expand field codes. You should see

Page {PAGE} of {NUMPAGES}

Type an equal sign to the left of the opening brace of {NUMPAGES} and
ype -1 to the right of the closing brace:

Page {PAGE} of ={NUMPAGES}-1

Select everything from the equal sign to the 1 (but no more) and press
Ctrl+F9 to make it into the field code for a formula field:

Page {PAGE} of {={NUMPAGES}-1}

Note that you can't make field braces by typing { } characters on the
keyboard; you must use Ctrl+F9.

Now press Alt+F9 again to collapse the field codes. You should have the
result you wanted.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:55 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.