Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have created a basic routine that will create a Task item and then send it another user for acceptance. The code executes and sends the Task to the user but when it arrives the user cannot select the task and it does not populate into their Tasks within outlook. ....see below for the sample code that I am using Sub TestAssignTask() 'Can't seem to create a task that is sent to another user that can be edited 'By the assigned user 'Can send the Task but when it arrives it does not populate into the outlook Task items or open when double clicked 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 = ") myDelegate.Resolve If myDelegate.Resolved Then myItem.Subject = "Test Subject into your Task list" myItem.DueDate = Now + 30 myItem.Status = olTaskNotStarted myItem.Categories = "Tester" myItem.Body = "Test Body" myItem.Importance = olImportanceHigh myItem.Display myItem.Send End If End Sub Any help appreciated.... |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calculating tasks using a six day work week | Excel Discussion (Misc queries) | |||
Program for assigning work shift hours | Excel Discussion (Misc queries) | |||
Creating New work sheets and assigning names automatically | Excel Programming | |||
Dictionary object: Error assigning user defined data type to item | Excel Programming | |||
Assigning User Names | Excel Programming |