Application.SelectTaskAssns method (Project)
Selects all assignments for a selected task in the Team Planner view.
expression An expression that returns an Application object.
If a task is assigned to more than one resource, and one assignment is selected, the SelectTaskAssns method selects all assignments in the Team Planner view.
In the following example, if one task assignment is selected in the Resource Usage view, the view switches to the Team Planner where all assignments for that task are selected.
Sub SelectAssignments() Application.ViewApply Name:="Team Planner" Application.SelectTaskAssns End Sub
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.