title | keywords | f1_keywords | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|---|
Application.FilterApply method (Project) |
vbapj.chm502 |
|
project-server |
|
d270862e-0577-a9db-e63b-9dcf1dc68b4a |
06/08/2017 |
medium |
Sets the current filter.
expression. FilterApply
( _Name_
, _Highlight_
, _Value1_
, _Value2_
)
expression A variable that represents an Application object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
Name | Required | String | The name of the filter to use. |
Highlight | Optional | Boolean | True if Project 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. |
Boolean
The following example highlights filtered items.
Sub HighlightCriticalTasks()
FilterApply Name:="Critical", Highlight:=True
End Sub
[!includeSupport and feedback]