using properties

  • Thread starter Thread starter Guest
  • Start date Start date
Here is some code adapted from Chip Pearson's website:

Sub MrsSmith()
Dim FileName As String
Dim DSO As DSOFile.OleDocumentProperties
Set DSO = New DSOFile.OleDocumentProperties
FileName = "C:\alpha keyword.xls"
DSO.Open sfilename:=FileName
MsgBox (DSO.SummaryProperties.Keywords)
DSO.Close
End Sub

It examines a single file and displays the keywords property. For your
application, you would need to use FileName as an array to examine a group of
files and you must also insure that you have DSO 2.0 installed.


See:

http://www.cpearson.com/excel/docprop.htm
 

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

Back
Top