Why do I get syntax error when I try to enter {={NUMPAGES}-1}

G

Guest

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.
 
S

Suzanne S. Barnhill

Try adding some spaces:

{ = { NUMPAGES } - 1 }

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
G

Greg Maxey

I would say that you are typing litterally the "{NumPages}" part. You
need to use CTRL+F9 to enter the both field brace pairs { { } } and
then type in the text { = { NumPages } - 1 }
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top