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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Search

Status
Not open for further replies.

NNNNN

MIS
Dec 2, 2002
90
0
0
GB
I have a directory containing many office documents. .dos .xls etc

Is there a way to search the directory and only return files which contain macro/s ?
 
Do you mean use FileSearch to find ONLY the files that contain code modules with content? If so, not directly. They are not identified. A .doc file with macros and a .doc file without macros looks the same to FileSearch.

That being said, IF the files had some identifying custom docproperty that marked the file as containing macros, yes, it could be done.

Kind of closing the barn door after the horse is gone though.


Gerry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top