The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TaskItem Object

Office 2007
Represents a task (an assigned, delegated, or self-imposed task to be performed within a specified time frame) in a Tasks folder.


Use the CreateItem method to create a TaskItem object that represents a new task.

Use Items(

index), where index is the index number of a task or a value used to match the default property of a task, to return a single TaskItem object from a Tasks folder.


The following Visual Basic for Applications (VBA) example returns a new task.

Visual Basic for Applications
Set myItem = Application.CreateItem(olTaskItem)

Community Additions