Documentproperties

F

FertRob

hello,

I want to check all my word documents for which template they are based
on. On an individual document i can do this by clicking the right mouse
button and properties.

I want to create a VBA sub in which i create a loop that scans the
entire harddisk for worddocuments without opening this documents in
Word. I only have no clue how i can program VBA to show me the name of
the template which is used for creating those documents.

Can anyone help me

Robert
 
J

Jonathan West

FertRob said:
hello,

I want to check all my word documents for which template they are based
on. On an individual document i can do this by clicking the right mouse
button and properties.

I want to create a VBA sub in which i create a loop that scans the entire
harddisk for worddocuments without opening this documents in Word. I only
have no clue how i can program VBA to show me the name of the template
which is used for creating those documents.

Can anyone help me

Getting access to the Document Properties of a Word file
http://word.mvps.org/FAQs/MacrosVBA/DSOFile.htm
 
F

FertRob

Thanks for your advise, it should work i only have a problem with
registering of the dsofile.dll.

On my PC i don't have the regsrv32.exe.
I work on a Windows 2000 system with Office 2000 professional installed.
Do i need VB 6.net ore something to run this program.

Robert
 
J

Jonathan West

FertRob said:
Thanks for your advise, it should work i only have a problem with
registering of the dsofile.dll.

On my PC i don't have the regsrv32.exe.
I work on a Windows 2000 system with Office 2000 professional installed.
Do i need VB 6.net ore something to run this program.

The file is called regsvr32.exe, and is should be in C:\Windows\system32 or
c:\winnt\system32, depending on which folder windows is installed in.

If it is not present, then I would strongly suspect that you PC has been got
at by a virus. The file is a standard part of every Windows 2000
installation
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top