You can retrieve the list of tasks in your Outlook 2007 using the following code
Dim ns As Outlook.NameSpace
Dim tasks As Outlook.Items
ns = Application.GetNamespace(“MAPI”)
tasks = ns.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderTasks).ItemsDim task As Object
For Each task In tasks
‘ iterate through the tasks here
Next
This entry was posted
on Sunday, January 6th, 2008 at 2:34 am and is filed under Programming.
You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.
