Tasks Collection Object
Project Developer Reference |
Contains a collection of Task objects.
Example
Using the Task Object
Use Tasks(Index), where Index is the task index number or task name, to return a single Task object. The following example prints the names of every resource assigned to every task in the active project.
Visual Basic for Applications |
---|
|
Use the Tasks property to return a Tasks collection. The following example displays the name of every task in the selection.
Visual Basic for Applications |
---|
|
Use the Add method to add a Task object to the Tasks collection. The following example adds a new task to the end of the task list.
Visual Basic for Applications |
---|
|
See Also