Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2005

Tip: Looking for answers? Try searching our database.

NUMPAGES is dumb-pages

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gemma M - 03 Feb 2005 16:41 GMT
Now, I know this is going to be an old chestnut, but here goes.

NUMPAGES does not, after printing a document, contain the numbe of pages in
the document.  It contains, depending upon when and where you look at it,
the current page number or 1.

I have Word 2000, with all the latest SPs and printing is in the foreground.
But still this field is unreliable.  I have tried my actions on Word 2003
too, and that is also unreliable.

This has been around for so long, someone must have a reliable work-around,
or a patch, or a registry hack or some thing that will cure this problem.

PLEASE help me.  The management enemy are breathing down my neck about this.

Gem
Charles Kenyon - 03 Feb 2005 23:38 GMT
There is a bug in Word that is different in different versions (including
different SRs).
See http://www.addbalance.com/word/pagexofy.htm or
http://www.mvps.org/word/FAQs/AppErrors/PageXofY.htm for information on Page
X of Y problems. You may also want to take a look at:
http://www.mvps.org/word/FAQs/Numbering/PageNumbering.htm. If it applies
you may also want to look at
http://www.mvps.org/word/FAQs/Numbering/PageNumber0.htm.

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
Gemma M - 04 Feb 2005 11:25 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.