FileSearch.NewSearch Method
Resets all the search criteria settings to their default settings.
Some of the content in this topic may not be applicable to some languages.
Syntax
expression.NewSearch
expression A variable that represents a FileSearch object.
Remarks
Search criteria settings are retained throughout an application session. Use this method every time you change search criteria. This method will not reset the value of the LookIn property.
Example
This example uses the NewSearch method to reset the default search criteria before beginning a new search.
| Visual Basic for Applications |
|---|
|