Skip to content

Latest commit

 

History

History
57 lines (34 loc) · 1.15 KB

Project.Application.SelectTPTask.md

File metadata and controls

57 lines (34 loc) · 1.15 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.SelectTPTask method (Project)
vbapj.chm2192
vbapj.chm2192
project-server
Project.Application.SelectTPTask
ef27e878-8c80-ad09-157d-f803ec2e7352
06/08/2017
medium

Application.SelectTPTask method (Project)

Selects the specified task in the Team Planner view.

Syntax

expression. SelectTPTask( _TaskUniqueID_ )

expression An expression that returns an Application object.

Parameters

Name Required/Optional Data type Description
TaskUniqueID Optional Variant Unique ID of the task to select.

Return value

Boolean

Remarks

If the Team Planner view is not open, the SelectTPTask method generates run-time error 1100, "The method is not available in this situation."

Example

The following example selects two tasks in the Team Planner view. Task 5 remains selected after task 7 is selected.

Sub SelectTwoTasks()
    SelectTPTask (5)
    SelectTPTask (7)
End Sub

[!includeSupport and feedback]