VBA Code to check Task Status

  • Thread starter Thread starter techiemom
  • Start date Start date
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
 
Am 2 Feb 2006 08:59:16 -0800 schrieb (e-mail address removed):

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
 
Back
Top