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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.