Export (0) Print
Expand All

FileFind Property

Office 2003

Returns an IFind object that can be used to locate files. Read-only.

expression.FileFind

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

This example displays the names of all files in the My Documents folder that begin with "New."

    With Application.FileFind
    .Name = "New*.*"
    .SearchPath = "C:\My Documents"
    .Execute
    For I = 1 To .Results.Count
        MsgBox .Results(I)
    Next
End With
		


Applies to | Application Object


Show:
© 2014 Microsoft