FileFind Property

Microsoft PowerPoint Visual Basic

FileFind Property

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