Use the following field construction
{ IF { PAGE } < { = { NUMPAGES } - 1 } { PAGE } }
You must use Ctrl+F9 for each pair of field delimiters { }; Alt+F9 to toggle
of the display of field codes and maybe F9 to update the fields.
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP