MarkAsTask - Date setting

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In Outlook2007 I would wish to use the MarkAsTask functionality and have no
problem, for example, of setting the OlMarkInterval to Tomorrow;

m_objItem.MarkAsTask (olMarkTomorrow)

What I would really like to do is set the due date to a date of my choice.
Is this possible? if so a 'guide' in the right direction would be appreciated!
 
After you mark the item as a task the DueDate property is added to the item.
It's exposed in the object model as TaskDueDate.

You can also set TaskStartDate and TaskSubject on the item if you want and
if you want reminders you can set the ReminderSet and ReminderTime
properties on the item.
 
Back
Top