Discussion:
Acquiring Document information without opening the document
(too old to reply)
Suzette
2005-10-10 21:34:12 UTC
Permalink
I am attempting to get information about documents in a folder without
opening the documents. I saw a program that would list the statistics for
document for the user. It listed the characters with or without spaces.
This included the characters in the headers and footers. It also listed the
hard returns and the attribute changes in the font. I am able to do this if
I open each document (through VBA) and scan the entire document. I know
that the other program doesn't do this because it is MUCH faster. I did 20
docs in about 30 seconds. I've been researching Win API as well as the
object browser but not had much luck. If someone could point me in the
right direction I would be sooo grateful.

Thank you

Suzette
Doug Robbins
2005-10-11 18:18:59 UTC
Permalink
See the article "Getting access to the Document Properties of a Word file"
at:


http://www.word.mvps.org/FAQs/MacrosVBA/DSOFile.htm
--
Hope this helps.


Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
Post by Suzette
I am attempting to get information about documents in a folder without
opening the documents. I saw a program that would list the statistics for
document for the user. It listed the characters with or without spaces.
This included the characters in the headers and footers. It also listed
the hard returns and the attribute changes in the font. I am able to do
this if I open each document (through VBA) and scan the entire document.
I know that the other program doesn't do this because it is MUCH faster. I
did 20 docs in about 30 seconds. I've been researching Win API as well as
the object browser but not had much luck. If someone could point me in the
right direction I would be sooo grateful.
Thank you
Suzette
Loading...