Resource.EnterpriseTeamMember method (Project)
Indicates whether the resource belongs to the project. True if the resource is a member of the team for the specified project; otherwise, False. Available in Project Professional only.
Syntax
expression. EnterpriseTeamMember
( _Project_
)
expression A variable that represents a Resource 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.