Table of contents
Collapse the table of content
Expand the table of content

Project.Tasks Property (Project)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

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


expression. Tasks

expression A variable that represents a Project object.


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
© 2018 Microsoft