Project.TaskFilterList Property

Project Developer Reference

Returns a List object representing all task filters in the active project. Read-only Object .

Syntax

expression.TaskFilterList

expression   A variable that represents a Project object.

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

Visual Basic for Applications
  Sub SeeAllFilters()
Dim Temp As Variant
Dim TaskFilterNames As String

For Each Temp In ActiveProject.<strong class="bterm">TaskFilterList</strong>
    TaskFilterNames = TaskFilterNames &amp; vbCrLf &amp; Temp
Next Temp

MsgBox TaskFilterNames

End Sub

See Also