Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Saving a task item to a child folder (http://www.outlookbanter.com/outlook-vba/35510-saving-task-item-child-folder.html)

Carol G December 16th 06 12:20 AM

Saving a task item to a child folder
 
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



Dmitry Streblechenko December 17th 06 05:41 AM

Saving a task item to a child folder
 
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

"Carol G" wrote in message
news:4ZGgh.482570$1T2.201666@pd7urf2no...
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






All times are GMT +1. The time now is 08:52 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com