FilterApply Method
Sets the current filter.
Syntax
expression**.FilterApply(Name, Highlight, Value1, Value2)**
*expression * Optional. An expression that returns an Application object.
Name Required String. The name of the filter to use.
Highlight Optional Boolean. True if Microsoft Office Project 2003 highlights rows rather than applying the filter. The default value is False.
Value1 Optional String. The first value to use when applying an interactive filter.
Value2 Optional String. The second value to use when applying an interactive filter.
Example
The following example highlights filtered items.
Sub HighlightCriticalTasks()
FilterApply Name:="Critical", Highlight:=True
End Sub
Applies to | Application Object
See Also | CheckField Method | FilterEdit Method | Filters Method | Find Method | FindNext Method | FindPrevious Method | ResourceFilterList Property | TaskFilterList Property