Since you are using the page number returned by PAGEREF in a calculation,
try removing the \h switch.
--
Stefan Blom
Microsoft Word MVP
"Karin" wrote in message
news
Hi, I am using bookmarks to get page numbers for a TOC (for multiple
reasons).
I have update fields at print turned off.
When I enter:
{ ={ PAGEREF D_Activities \h } -1} it works fine. When I Update Fields
manually, it works fine (it's awesome and I'm so happy).
At print it does one of two things:
{ =X PAGEREF D_Activities \h X -1} (where X is actually a square box) and
gives a Syntax error
or this
{ ={ PAGEREF D_Activities \h }{ PAGEREF D_Activities \h } -1} and gives a
Missing Operator error
(it's awful and I'm so frustrated)
How can I get this to print?