>But the reservation about the accuracy of the Word count in a
>closed document still stands, no matter which programming
>language you use.
Cindy,
I have now found that out for myself! I have used some Perl code plus
win32::ole which does list many of the Word doc properties, all of
which seem correct, except for the number of pages!!
No way round this?
Cheers
Geoff
>Cindy Meister
>INTER-Solutions, Switzerland
[quoted text clipped - 4 lines]
>This reply is posted in the Newsgroup; please post any follow
>question or reply in the newsgroup and not by e-mail :-)
Cindy M -WordMVP- - 01 Jan 2004 11:27 GMT
Hi Geoff,
> I have now found that out for myself! I have used some Perl code plus
> win32::ole which does list many of the Word doc properties, all of
> which seem correct, except for the number of pages!!
>
> No way round this?
Aside from opening the document, no. Or, if you could force the
documents to repaginate or perform an explicit Word Count before
they're closed, then the correct number would probably be saved in the
property (assuming the document is opened on the same machine, with the
same printer driver and printer available).
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.mvps.org/word
This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :-)
Geoff Cox - 02 Jan 2004 10:43 GMT
>Hi Geoff,
>
[quoted text clipped - 9 lines]
>property (assuming the document is opened on the same machine, with the
>same printer driver and printer available).
Cindy,
thanks again - pleased to have found your web site too!
Cheers
Geoff
>Cindy Meister
>INTER-Solutions, Switzerland
[quoted text clipped - 3 lines]
>This reply is posted in the Newsgroup; please post any follow question
>or reply in the newsgroup and not by e-mail :-)