Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 1.01 KB

Project.Filter.Apply.md

File metadata and controls

49 lines (29 loc) · 1.01 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Filter.Apply method (Project)
vbapj.chm132210
vbapj.chm132210
project-server
Project.Filter.Apply
bc9a406c-d4ae-0fa5-a5b1-70bf3520fac4
06/08/2017
medium

Filter.Apply method (Project)

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

[!includeSupport and feedback]