PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Saving a task item to a child folder

Reply

Saving a task item to a child folder

 
Thread Tools Rate Thread
Old 16-12-2006, 12:20 AM   #1
Carol G
Guest
 
Posts: n/a
Default 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


  Reply With Quote
Old 17-12-2006, 05:41 AM   #2
Dmitry Streblechenko
Guest
 
Posts: n/a
Default Re: 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" <cgeddes@shaw.ca> 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
>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off