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
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 "Suzette" wrote in message news:e9u1dJezFHA.3856@tk2msftngp13.phx.gbl... >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 >