Application.ResourceSharingPoolAction method (Project)

Performs the specified action on a local resource pool.

Syntax

expression. ResourceSharingPoolAction( _Action_, _FileName_, _ReadOnly_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
action Required Long The actions to perform on the resource pool. Can be one of the PjPoolAction constants.
FileName Optional String The file name of the resource pool on which to perform the action.
ReadOnly Optional Boolean True if the files specified with FileName are opened read-only.

Return value

Boolean

Remarks

Note

Project Professional can share local resources only when not logged on Project Server. If Project Professional is using a Project Server profile, local resource sharing is unavailable.

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.