Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / July 2006

Tip: Looking for answers? Try searching our database.

numpages - 1

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
xg - 05 Jul 2006 17:06 GMT
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?
Peter Jamieson - 05 Jul 2006 17:49 GMT
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
>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?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.