Project.AutoFilter Property (Project)

Gets or sets whether the AutoFilter feature is turned on for a project. Read/write Boolean.

Syntax

expression. AutoFilter

expression A variable that represents a Project object.

Remarks

The AutoFilter setting is in the Filter drop-down list on the View tab of the Ribbon.

Example

The following example turns on AutoFilter in the active project.

Sub turnOnAutoFilter() 
    ActiveProject.AutoFilter = True
End Sub