#1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
xg xg is offline
external usenet poster
 
Posts: 1
Default numpages - 1

I break my document into 2 sections. section 1 for cover page and section 2
for main document. When I insert Page x of y in my main document, the
numpages code include cover page as total. how do I subtract numpages by 1
in code?


  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default numpages - 1

Use Alt-F9 to display the field codes. You should see { NUMPAGES }

Select the field and press F9 to add an extra pair of "field braces", so you
see

{ { NUMPAGES } }

modify this so it looks like

{ ={ NUMPAGES }-1 }

(However, if you are merging you may need to use { SECTIONPAGES } rather
than { NUMPAGES } and do things slightly differently. )

Peter Jamieson
"xg" wrote in message
...
I break my document into 2 sections. section 1 for cover page and section 2
for main document. When I insert Page x of y in my main document, the
numpages code include cover page as total. how do I subtract numpages by 1
in code?



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Number of pages should restart with section page numbers Jim B Microsoft Word Help 7 March 12th 06 02:13 PM
Numpages Again got questions via OfficeKB.com Microsoft Word Help 2 September 21st 05 04:59 PM
Formula - page, numpages,...field Ludek Microsoft Word Help 1 September 5th 05 11:01 AM
Page x of y problems Cowtoon Microsoft Word Help 7 March 15th 05 04:28 PM
NUMPAGES field Monty Tables 2 December 19th 04 12:01 AM


All times are GMT +1. The time now is 07:53 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"