
Signature
Charles Kenyon
Word New User FAQ & Web Directory: http://addbalance.com/word
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide
See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
> Now, I know this is going to be an old chestnut, but here goes.
>
[quoted text clipped - 14 lines]
>
> Gem
Thanks Charles.
I found that I had all the up-to-date service packs. The problem was being
caused by the fact that my automated process was opening the Word document,
and then applying a pass-word protection to it, to prevent users changing
its contents.
Unfortunately, this "protection" was observed, selectively, by the process
that updates NUMPAGES. I tried forcing an update to NUMPAGES (using
print-view, normal-view, print-view toggling etc...), and then applying the
pass-word protection lock. This just resulted in NUMPAGES containing
another WRONG value!
For a product that had a prototype running under Windows 2 (I know, I used
that prototype, and it looked promising in those days), there seems to have
been little improvement over the last 15 years!
Gem
> There is a bug in Word that is different in different versions (including
> different SRs).
[quoted text clipped - 23 lines]
>>
>> Gem
Charles Kenyon - 04 Feb 2005 23:09 GMT
I have macros that lock all fields in a document - including in headers and
footers. Unfortunately, it locks PAGE and NUMPAGE fields as well so I have
to unlock those by hand or they give the wrong result. It sounds like your
"helper" software may be doing something similar.

Signature
Charles Kenyon
Word New User FAQ & Web Directory: http://addbalance.com/word
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide
See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
> Thanks Charles.
>
[quoted text clipped - 42 lines]
>>>
>>> Gem