FileSearch Property
Applies To
Application object.
Description
Returns a FileSearch object for use with file searches. This property is available only in Microsoft Windows.
Example
This example creates a FoundFiles object that represents all the Microsoft Excel workbooks in the My Documents folder.
With Application.FileSearch
.LookIn = "C:\My Documents"
.FileType = msoFileTypeExcelWorkbooks
.Execute
End With