Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 1.12 KB

Project.Application.SelectTaskAssns.md

File metadata and controls

50 lines (30 loc) · 1.12 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.SelectTaskAssns method (Project)
vbapj.chm1511
vbapj.chm1511
project-server
Project.Application.SelectTaskAssns
80683610-657f-f298-0275-831da215a93a
06/08/2017
medium

Application.SelectTaskAssns method (Project)

Selects all assignments for a selected task in the Team Planner view.

Syntax

expression. SelectTaskAssns

expression An expression that returns an Application object.

Return value

Boolean

Remarks

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.

Example

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]