Creating a Task : Outlook Task « Outlook « VBA / Excel / Access / Word






Creating a Task

 
Sub task()
    Dim myTask As TaskItem
    Set myTask = Application.CreateItem(ItemType:=olTaskItem)
End Sub

 








Related examples in the same category

1.Create a TaskItem
2.Using the Save Method
3.Assigning a Task to a Colleague