Application.ResourceSharingPoolUpdate method (Project)

Synchronizes the information in the sharer project with the information in the local resource pool project.

Syntax

expression. ResourceSharingPoolUpdate( _allSharers_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
allSharers Optional Boolean True if the information from all open sharers is updated in the pool. False if only the information from sharers in the active project is updated in the pool. If AllSharers is omitted and only one sharer is open, that information is updated in the pool; otherwise, the user is prompted to specify whether all open sharers or just those in the active project should be updated in the pool.

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.

Example

In the following example, the project that contains the resources to share is named SharedResourcePool.mpp. If the active project is named Sharer.mpp, the code enables Sharer.mpp to synchronize with any changes in resources from SharedResourcePool.mpp. Both projects must be open.

Application.ResourceSharingPoolUpdate

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.