Specifies the file masks used by the dialog.
|componentObj||One of the user forms components listed in the Applies To section|
The property applies to the following components:
The dialog has a drop-down list where the user can select one of the available file types to be shown. By default this list of file filters is empty and all files are displayed in the dialog. Use the
Filter property to populate a list of available file filters and make the dialog only show the files of the selected type(s).
To specify a file filter for this property, assign a string that consists of a filter description and a file mask separated with the vertical bar (|) character. Do not include spaces around the vertical bar. For example:
To specify several file filters separate their descriptions and masks with the vertical bar (|). For example:
To add several file masks to a filter separate them with the semicolons:
If the dialog has several filters, you can determine or set the active filter via the
A string value that is used as the file mask(s) by the dialog.