A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Saving a task item to a child folder



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 16th 06, 01:20 AM posted to microsoft.public.outlook.program_vba
Carol G
external usenet poster
 
Posts: 25
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


  #2  
Old December 17th 06, 06:41 AM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default 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




 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Customized Task form not saving data RClauss Outlook - Using Forms 3 October 25th 06 04:46 PM
is there a way to set an attached task to an task item instead ofan attachmentitem? David Schwab Outlook and VBA 1 October 12th 06 06:44 AM
Saving exception item in recurring appointment item fails Dikbill Outlook and VBA 2 July 11th 06 04:59 PM
Saving exception item in recurring appointment item fails Dikbill Outlook - Calandaring 0 July 11th 06 03:01 PM
saving problem in default task folder - permission related? Haraszti Zoltán Outlook - General Queries 1 July 5th 06 12:24 PM


All times are GMT +1. The time now is 12:53 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.