Project.TaskFilterList property (Project)

Gets a List object representing all task filters in the project. Read-only List.

Syntax

expression. TaskFilterList

expression A variable that represents a Project object.

Example

The following example lists all the task filters in the active project.

Sub SeeAllFilters() 
 
 Dim Temp As Variant 
 Dim TaskFilterNames As String 
 
 For Each Temp In ActiveProject.TaskFilterList 
 TaskFilterNames = TaskFilterNames & vbCrLf & Temp 
 Next Temp 
 
 MsgBox TaskFilterNames 
 
End Sub

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.