Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Applies the filter to the current view.
Syntax
expression.Apply (Highlight)
expression An expression that returns a Filter object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| Highlight | Optional | Boolean | If True, highlights the filtered items within the list of all items. If False, shows only the filtered items in the view. The default is False. |
Return value
Nothing
Example
If the current view is a task view, the following example highlights the critical tasks.
ActiveProject.TaskFilters("Critical").Apply Highlight:=True
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.