Word help indicates:
The following = (Formula) field computes the total number of pages in a
document whose page numbering starts at 47; it displays a result such as
"Page 51 of 92":
Page { PAGE } of { = (47 - 1) + { NUMPAGES } }
I created the same formula in a word doc:
{ = (47 - 1) + { NUMPAGES } }
When I toggle the NUMPAGES part of the formula it provides the correct
value. When I toggle the entire formula it gives the following result:
!Undefined Bookmark, NUMPAGES
Can anyone tell me where I went wrong?
Dave W.
> I created the same formula in a word doc:
> { = (47 - 1) + { NUMPAGES } }
>
> When I toggle the NUMPAGES part of the formula it provides the correct
> value. When I toggle the entire formula it gives the following result:
> !Undefined Bookmark, NUMPAGES
>
which version of Word is this, both number and local language?
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister
http://www.mvps.org/word
http://go.compuserve.com/MSOfficeForum
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
I'm using Word97 SR-2, English version.
David
> I'm using Word97 SR-2, English version.
>
> I created the same formula in a word doc:
> { = (47 - 1) + { NUMPAGES } }
>
> When I toggle the NUMPAGES part of the formula it provides the correct
> value. When I toggle the entire formula it gives the following result:
> !Undefined Bookmark, NUMPAGES
>
From what I can see, what you've done is correct. It's possible that the
fields are somehow "confused" or damaged, so...
Rename Normal.dot to Normal.old, then start up Word.
In the new document that appears:
1) Press cTrl+F9 to insert field brackets
2) Type: = (47 - 1)
3) Alt+F9, F9 to update the field. Is everything OK so far?
4) Alt+F9 to show the field again
5) Edit the field to include the NumPages, pressing Ctrl+F9 to insert the
field code brackets, and type NumPages. The result should look like the
combination at the beginning of this message.
6) Alt+F9, select the entire field, F9
Does it work, now?
It works! Thanks. I'm suspicious there may have been some sort of pilot
error involved since it also works with both the original normal.dot and the
original document. Anyway, thanks for the help.
David
<BG> I *know* the feeling... Glad it's working now.
> Thanks. I'm suspicious there may have been some sort of pilot
> error involved since it also works with both the original normal.dot and the
> original document.
>
Cindy Meister