Saving a task item to a child folder

  • Thread starter Thread starter Carol G
  • Start date Start date
C

Carol G

I have created a task item and wish to save it to a sub folder of tasks that
I have already created. I know the syntax to save to the task folder is:
objTask.Save but I don't know how to save to the sub folder I have
created.
Thanks
Carol
 
You need to call MAPIFolder.Items.Add (where MAPIFolder points to the Tasks
subfolder) rather than use Application.CreateItem().

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top