Create a task in sub-folder of the main Tasks folder

  • Thread starter Thread starter David
  • Start date Start date
D

David

Hello,
I am using outlookXP/VBA to create a task in a sub-folder under the main Tasks folder.

How can i create it directly there without creating it in the main Tasks and then moving it.

thanks
David
 
Get the folder as a MAPIFolder object and then its Items collection. Then use the Add method for the Items collection.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm


Hello,
I am using outlookXP/VBA to create a task in a sub-folder under the main Tasks folder.

How can i create it directly there without creating it in the main Tasks and then moving it.

thanks
David
 
Back
Top