Assignment.EnterpriseTeamMember method (Project)

Indicates whether the specified assignment belongs to the project. True if the assignment belongs to the specified project; otherwise, False. Available in Project Professional only.

Syntax

expression. EnterpriseTeamMember( _Project_ )

expression A variable that represents an Assignment object.

Parameters

Name Required/Optional Data type Description
Project Required Object The Project object against which the expression is checked. For example, ActiveProject.

Return value

Boolean

Remarks

The EnterpriseTeamMember method returns False for summary resource assignments, because the assignment or resource is from another project.

The EnterpriseTeamMember method returns a trappable error (error code 1004) if the active view is not a Resource or Assignment view.

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.