Task object (Project)
Represents a task. The Task object is a member of the Tasks collection. 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 name of every resource assigned to every task in the active project. Using the Tasks Collection Use the Tasks property to return a Tasks collection. The following example displays the name of every task in the selection. 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.
Methods
Properties
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.