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