CreateItem Method
Applies To
Application object.
Description
Creates a new Outlook item and returns it.
Syntax
expression.CreateItem(ItemType)
expression An expression that returns an Application object.
ItemType Required Long. The Outlook item type for the new item. Can be one of the following OlItems constants: olAppointmentItem, olContactItem, olJournalItem, olMailItem, olNoteItem, olPostItem, or olTaskItem.
Example
This example creates a new contact in the default Contacts folder.
Set myItem = myOlApp.CreateItem(olContactItem)