Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get file properties from unopened file 1

Status
Not open for further replies.

jrice174

Civil/Environmental
Joined
Nov 8, 2004
Messages
129
Location
US
I have a spreadsheet that I'm dumping all the file names from a directory. I can get the AutoCAD file properties using dwgprops

Set dwgprops = New DWGPROPSXLib.Properties
dwgprops.Load (DWGSourceFolderName & "\" & FileName)
Cells(r, 2).Formula = FileItem.Path & FileItem.Name
Cells(r, 3).Formula = dwgprops.Title
Cells(r, 4).Formula = dwgprops.Subject
Cells(r, 5).Formula = dwgprops.Author

How do i do the same thing for Word or Excel files? What I'm trying to get is the info from the summary tab.
 
Google "dsofile". You'll find plenty of tutorials and examples. Good luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top