VBA Code to check Task Status

T

techiemom

Hi

What I'm looking for is some code I can run that will run through my
task list and notify me of any tasks that are not complete.

I'm not sure where to start. Can anyone give me any pointers.


Thanks in advance.


Melanie
 
M

Michael Bauer

Am 2 Feb 2006 08:59:16 -0800 schrieb [email protected]:

Dim oTask as Outlook.TaskItem
Dim obj as Object

For Each obj in Application.Session.GetDefaultFolder(olFolderTask).Items
If TypeOf obj Is Outlook.TaskItem then
Set oTask=obj
If oTask.Complete = False Then
MsgBox "Another no completed task, subject: " & oTask.Subject
Endif
Endif
Next
 
Top