Reply
 
Thread Tools Display Modes
  #1   Report Post  
 
Posts: n/a
Default Determine if the total # of pages is ODD or EVEN

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.
  #2   Report Post  
Jay Freedman
 
Posts: n/a
Default

On Thu, 31 Mar 2005 12:10:39 -0800,
wrote:

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.


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
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
Printing Page # of total pages in section prints Page 1 of 1, Pag. Penny Edwards Microsoft Word Help 1 March 15th 05 11:48 PM
Printing Page Ranges with page numbers i-iv then 1-23 for 27 total Scott Page Layout 2 February 9th 05 02:49 AM
How can I modify the total number of pages to start at 1 (not i)? Jude Microsoft Word Help 2 February 3rd 05 06:10 PM
Number of pages excluding content pages Number of pages excluding content pages Microsoft Word Help 4 January 11th 05 02:21 PM
Printing single pages or a range of pages Craig Mailmerge 1 December 13th 04 01:51 AM


All times are GMT +1. The time now is 05:28 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"