Application.FilterNew Method (Project)
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

Application.FilterNew Method (Project)

Shows the Filter Definition dialog box, where the user can create a filter for a task-based view, resource-based view, or the default view filter.

Version Added: Project 2010

expression .FilterNew(FilterType)

expression An expression that returns an Application object.

Parameters

Name

Required/Optional

Data Type

Description

FilterType

Optional

PjFilterViewType

Specifies whether the filter is for task information or resource information. Can be one of the following constants of the PjFilterViewType enumeration: pjFilterViewTypeResource, pjFilterViewTypeTask, or pjFilterViewTypeUseView. The default value is pjFilterViewTypeUseView.

Return Value

Boolean

Running the FilterNew method with no arguments corresponds to the New Filter command in the Filter drop-down list on the View tab of the Ribbon. That command brings up the Filter Definition dialog box, where the Field Name drop-down list contains fields that apply to the current view.

Show:
© 2016 Microsoft