PC Review


Reply
Thread Tools Rate Thread

Assigning Tasks to another User does not seem to work

 
 
=?Utf-8?B?c2NvdHQ1Nmhhbm5haA==?=
Guest
Posts: n/a
 
      20th Nov 2007
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 = myItem.Recipients.Add("(E-Mail Removed)")
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....
 
Reply With Quote
 
 
 
 
Bill Renaud
Guest
Posts: n/a
 
      20th Nov 2007
You probably need to re-post this in an Outlook newsgroup.

--
Regards,
Bill Renaud



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Assigning Tasks Raja Microsoft Outlook Calendar 1 29th Sep 2008 08:30 AM
Scheduled Tasks Will not work under different user DanSchlim@gmail.com Windows XP General 1 18th Oct 2006 10:55 PM
Assigning tasks will not work =?Utf-8?B?SlIgRGlBbmRyZWE=?= Microsoft Outlook Discussion 0 2nd Aug 2006 12:52 PM
Assigning tasks to a pop3 account user =?Utf-8?B?SE1CX0FmZmluaXR5?= Microsoft Outlook Discussion 1 12th Feb 2006 06:27 AM
Assigning Tasks Chris Coffee Microsoft Outlook 1 21st Jul 2004 12:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:04 PM.