Share via


CurrentFilter Property

Returns the name of the active filter for a project. Read-only String.

Example

The following example displays the names of the active view, table, and filter in a dialog box.

Sub ViewDetails()

    Dim Temp As String
    
    Temp = "View: " & ActiveProject.CurrentView & vbCrLf
    Temp = Temp & "Table:" & ActiveProject.CurrentTable & vbCrLf
    Temp = Temp & "Filter: " & ActiveProject.CurrentFilter
    MsgBox Temp
    
End Sub

Applies to | Project Object, Projects Collection Object

See Also | CurrentTable Property | CurrentView Property | ResourceFilterList Property | TaskFilterList Property