Change Outlook folder programatically

  • Thread starter Thread starter Damian
  • Start date Start date
D

Damian

Hello
I'm begginer -developer of MSOutlook. I need to export all Tasks from
outlook and some of them are in the default folder but some are in
user-created folders. How to find, where are all tasks and how to get into
user-defined folders?
Thanks
 
To get a non-default folder, you need to walk the folder hierarchy using the Folders collections or use a function that does that for you. See http://www.slipstick.com/dev/code/getfolder.htm

FYI, there is a newsgroup specifically for general Outlook programming issues "down the hall" at microsoft.public.outlook.program_vba

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Back
Top