Hi,
This is code to sand from my account,but I would like some code to sand from
account of manager (his tasks) to any another account.
Sub AssignTask()
Dim myOlApp As New Outlook.Application
Dim myItem As Outlook.TaskItem
Dim myDelegate As Outlook.Recipient
Set myItem = myOlApp.CreateItem(olTaskItem)
myItem.Assign
Set myDelegate = myItem.Recipients.Add("Gon Kim")
myDelegate.Resolve
If myDelegate.Resolved Then
myItem.Subject = "My SubJect"
myItem.DueDate = Now + 30
myItem.Display
myItem.Send
End If
End Sub
thanks
"Sue Mosher [MVP]" wrote:
> Did you have a specific question? Please show your code.
> > Sue Mosher
> > >
> "ACCESS 2003" wrote:
>
> > Hi,
> > I am using Outlook 2003 with Exchange 2007 and I am trying to
> > programatically send tasks from access vba to another account.
> > thenks.