Application.ResourceAssignmentDialog Method (Project)

Displays the Assign Resources dialog box, expands or collapses the Resource list options, and specifies fields and filters.

Syntax

expression .ResourceAssignmentDialog(ShowResourceListOptions, ResourceListFields, UseNamedFilter, FilterName, UseAvailableToWorkFilter, AvailableToWork)

expression A variable that represents an Application object.

Parameters

Name

Required/Optional

Data Type

Description

ShowResourceListOptions

Optional

Boolean

True if Project expands the Resource list options. The default value is False.

ResourceListFields

Optional

Long

The fields listing data from the active project. Can be one of the following PjAssignResourcesListFields constants: pjAllColumns or pjBasic. The default value is pjAllColumns.

UseNamedFilter

Optional

Boolean

True if Project filters resource lists by the filter specified in the FilterName argument.

FilterName

Optional

String

A string representing the name of the resource filter to be applied to the resource list.

UseAvailableToWorkFilter

Optional

Boolean

True if Project filters the resource list by a resource's availability to work.

AvailableToWork

Optional

Variant

The number of hours a resource is available to work, without the letter indicating the units.

Return Value

Boolean