FileTypes object (Office)
A collection of values of the type msoFileType that determine which types of files are returned during a search.
Remarks
There is only one FileTypes collection for all searches, so it's important to clear the FileTypes collection before executing a search unless you wish to search for file types from previous searches.
The easiest way to clear the collection is to set the FileType property to the first file type for which you want to search. You can also remove individual types by using the Remove method. To determine the file type of each item in the collection, use the Item property to return the msoFileType value.
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for