read requested by property of task

  • Thread starter Thread starter Matthew Sickler
  • Start date Start date
M

Matthew Sickler

I'm attempting to create a macro that monitors Task Items added to the
default task folder, I would like an assigned tasked to be moved
automatically to a public folder. Is there a way to determine if a
task has been assigned? I can not find the property.

thanks,
Matt
 
I guess my problem is that I'm confused how to determine this, I
haven't been able to fine the RequestedBy property regardless of
whether it was populated or not. I tried creating an outlook taskitem
variable, just to see what options the editor would give me, and
RequestedBy was not one of them. Here is my code for Outlook 2003

Dim myOlApp As New Outlook.Application
Public WithEvents myOlItems As Outlook.Items

Public Sub Initialize_handler()
Set myOlItems = myOlApp.GetNamespace("MAPI").GetDefaultFolder(olFolderTasks).Items
End Sub

Private Sub myOlItems_ItemAdd(ByVal Item As Object)

MsgBox (Item.RequestedBy)

End Sub


I would like to determine when a task has been accepted and move that
task to exchange instead of leaving it in my default task folder.

Thanks, Matt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top