FilterIndex

Returns a default filter for an Open or Save As dialog box.

Syntax

object.FilterIndex [= number]

The parts of the FilterIndex property syntax are described in the following table.

Part Description
object An object expression that evaluates to an object.
description A string expression describing the type of file.
filter A numeric expression specifying a default filter.

Remarks

This property specifies the default filter when you use the Filter property to specify filters for an Open or Save As dialog box.

The index for the first defined filter is 1.

Data Type

Integer