Application.AutoFilter method (Project)
Activates or deactivates the AutoFilter feature for the active project.
Syntax
expression. AutoFilter
expression A variable that represents an Application object.
Return value
Boolean
Remarks
The AutoFilter method toggles the AutoFilter feature on and off. It has the same effect as the AutoFilter command on the filter drop-down menu on the View tab for Gantt Chart Tools in the Ribbon. If column headings show the AutoFilter drop-down menu, executing the AutoFilter method hides the AutoFilter menus for columns in all sheet views in the active project.
To set an AutoFilter, see the SetAutoFilter method.
Support and feedback
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.