Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 807 Bytes

Project.Project.Tasks.md

File metadata and controls

43 lines (26 loc) · 807 Bytes
title ms.service api_name ms.assetid ms.date ms.localizationpriority
Project.Tasks property (Project)
project-server
Project.Project.Tasks
08bfaadd-9cce-84a2-0ff3-c4b29d9e18cd
06/08/2017
medium

Project.Tasks property (Project)

Gets a Tasks collection representing the tasks in the project. Read-only Tasks.

Syntax

expression. Tasks

expression A variable that represents a Project object.

Example

The following example displays the name of every task in the active project.

Sub TaskNames() 
 
 Dim T As Task, Names As String 
 
 For Each T In ActiveProject.Tasks 
 Names = Names & T.Name & vbCrLf 
 Next T 
 
 MsgBox Names 
 
End Sub

[!includeSupport and feedback]