Project.CurrentFilter Property

Project Developer Reference

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



expression   A variable that represents a Project object.

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

Visual Basic for Applications
  Sub ViewDetails()
Dim Temp As String

Temp = "View: " & ActiveProject.CurrentView & vbCrLf
Temp = Temp & "Table:" & ActiveProject.CurrentTable & vbCrLf
Temp = Temp &amp; "Filter: " &amp; ActiveProject.<strong class="bterm">CurrentFilter</strong>
MsgBox Temp

End Sub

See Also