View Single Post
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Why do I get syntax error when I try to enter {={NUMPAGES}-1}

Try adding some spaces:

{ = { NUMPAGES } - 1 }

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"SSDLUE" wrote in message
...
I am just trying to enter a simple formula in my footer because I have
multiple sections in the document and want to exclude the title page in

the
count. I must be missing something really basic about writing formulas

in
Word. I can get a simple numerical calculation to work, i.e =(5-2), but

when
I try to subtract from the NUMPAGES, then I get syntax error. I've been
entering in the "insert" formula" and also toggling field within the
document. No luck though.