Specifies the file filter that is currently used by the dialog.
Declaration
componentObj.FilterIndex
Read-Write Property | Integer |
componentObj | One of the user forms components listed in the Applies To section |
Applies To
The property applies to the following components:
Description
If the dialog has several file filters, use the FilterIndex
property to read or set which filter is currently applied. The file filters are specified via the Filter
property. The index of the first file filter is 1, the index of second filter is 2 and so on. The default value is 1. If an invalid filter index is specified, the first filter is selected.
Property Value
An integer value indicating the current file filter. The default value is 1.