Table of contents
TOC
Collapse the table of content
Expand the table of content

Filter.Apply Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Applies the filter to the current view.

Syntax

expression. Apply( ** Highlight** )

expression An expression that returns a Filter object.

Parameters

NameRequired/OptionalData TypeDescription
HighlightOptionalBooleanIf 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
© 2018 Microsoft