Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.25 KB

Project.Application.FilterApply.md

File metadata and controls

54 lines (34 loc) · 1.25 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.FilterApply method (Project)
vbapj.chm502
vbapj.chm502
project-server
Project.Application.FilterApply
d270862e-0577-a9db-e63b-9dcf1dc68b4a
06/08/2017
medium

Application.FilterApply method (Project)

Sets the current filter.

Syntax

expression. FilterApply( _Name_, _Highlight_, _Value1_, _Value2_ )

expression A variable that represents an Application object.

Parameters

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.

Return value

Boolean

Example

The following example highlights filtered items.

Sub HighlightCriticalTasks() 
    FilterApply Name:="Critical", Highlight:=True 
End Sub

[!includeSupport and feedback]