Duplicate Outlook 2007 "New Task For Contact" Functionality In VBA
Posted on 2014-03-23
When a user right-clicks a Contact in Outlook 2007, then clicks "Create," they can click the option of "Create New Task For Contact" to create a new task for the Contact. This is VERY convenient because in addition to creating the new Task, the Task is also automatically linked to the Contact (see bottom left corner of the new Task to the right of the "Contacts ..." button).
I need to create this functionality using VBA. In addition to this functionality I also need to set the value for several of the new Task's fields using the same VBA code (e.g., Subject, Start Date, etc.). I am an experienced Excel VBA user and I understand the object model fairly well. Does anyone have any ideas how I might code this functionality?