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 / Long Documents / April 2005

Tip: Looking for answers? Try searching our database.

Determine if the total # of pages is ODD or EVEN

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
anonymous@discussions.microsoft.com - 31 Mar 2005 21:10 GMT
Is it possible to use field codes to determine if the
document has an odd or even number of pages?

I have a couple of long-winded reasons for asking - but
this is essentially what I need to know, if anyone has any
thoughts. I just can't figure it out.

Thanks.
Jay Freedman - 01 Apr 2005 04:20 GMT
>Is it possible to use field codes to determine if the
>document has an odd or even number of pages?
[quoted text clipped - 4 lines]
>
>Thanks.

You can do it with a triply-nested field -- where each pair of matched
braces is entered by pressing Ctrl+F9:

 { IF { = MOD({ NUMPAGES },2) } = 1  "odd"  "even" }

--
Regards,
Jay Freedman
Microsoft Word MVP         FAQ: http://word.mvps.org
 
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.