LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default using properties

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
--
Gary''s Student - gsnu200727


"Mrs. Smith" wrote:

How do I locate a file using keywords from the properties dialog box?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP: Using VBA to get solver properties Alvin Excel Discussion (Misc queries) 0 February 14th 07 05:42 AM
properties in header IMFletch Excel Discussion (Misc queries) 1 January 4th 07 09:07 PM
cell properties changes faeiz2 Excel Discussion (Misc queries) 1 December 30th 06 11:48 AM
Combo Box Properties Aex de Silva Excel Worksheet Functions 1 December 28th 05 10:38 PM
Tab Properties JohnHill Excel Worksheet Functions 2 August 12th 05 04:38 AM


All times are GMT +1. The time now is 04:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"