Microsoft Office 2000/Visual Basic Programmer's Guide   

Working with the FileSearch Object

The FileSearch object exposes a programmatic interface to all the functionality of the Office File Open dialog box, including the features found in the Advanced Find dialog box, which is available from the Open dialog box. You can use the objects, methods, and properties of the FileSearch object to search for files or collections of files based on criteria you supply.

Note   If Microsoft Fast Find is enabled, the FileSearch object can use Fast Find indexes to speed up its searching capabilities.