FileTypes.Add method (Office)

Adds a new file type to a file search.

Syntax

expression.Add (FileType)

expression Required. A variable that represents a FileTypes object.

Parameters

Name Required/Optional Data type Description
FileType Required MsoFileType Specifies the type of file for which to search.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.