title | keywords | f1_keywords | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|---|
Application.SelectTaskAssns method (Project) |
vbapj.chm1511 |
|
project-server |
|
80683610-657f-f298-0275-831da215a93a |
06/08/2017 |
medium |
Selects all assignments for a selected task in the Team Planner view.
expression. SelectTaskAssns
expression An expression that returns an Application object.
Boolean
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
[!includeSupport and feedback]