Project.AutoFilter property (Project)
Gets or sets whether the AutoFilter feature is turned on for a project. Read/write Boolean.
expression. AutoFilter
expression A variable that represents a Project object.
The AutoFilter setting is in the Filter drop-down list on the View tab of the Ribbon.
The following example turns on AutoFilter in the active project.
Sub turnOnAutoFilter()
ActiveProject.AutoFilter = True
End Sub
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.