Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Mon, 10 Oct 2005 14:34:12 -0700,    group: microsoft.public.word.vba.addins        back       


Acquiring Document information without opening the document   
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
date: Mon, 10 Oct 2005 14:34:12 -0700   author:   Suzette

Re: Acquiring Document information without opening the document   
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
>
date: Tue, 11 Oct 2005 20:18:59 +0200   author:   Doug Robbins

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us