G
Guest
I am trying to create an Outlook task (in Outlook 2000) and then assign it to
another user. This seems to work OK, however, it never seems to set up the
reminder details. However, if i assign it so someone else then only the due
date is
sent. How to set remainder
I have provided a code snippet below which I am trying to make work.
Regards
Amirineni Chaitanya
Set oTask = oTaskFolder.Items.Add("IPM.Task")
With oTask
' store the each task item details
.Subject = strTaskName
.Body = strTaskBody
.DueDate = strDueDate
.PercentComplete = strCompPercent
.ReminderTime = strReminderDate
.ReminderSet = True
.UserProperties.Add "TaskID", olText
.UserProperties("TaskID") = strTaskId
.UserProperties.Add "AssignedTo", olText
.UserProperties("AssignedTo") = strDisplayName
End With
' send the task
oTask.Recipients.Add (strAssignTo)
oTask.ReminderSet = True
oTask.ReminderTime = strReminderDate
oTask.ReminderOverrideDefault = True
oTask.ReminderPlaySound = True
oTask.Assign
oTask.Send
another user. This seems to work OK, however, it never seems to set up the
reminder details. However, if i assign it so someone else then only the due
date is
sent. How to set remainder
I have provided a code snippet below which I am trying to make work.
Regards
Amirineni Chaitanya
Set oTask = oTaskFolder.Items.Add("IPM.Task")
With oTask
' store the each task item details
.Subject = strTaskName
.Body = strTaskBody
.DueDate = strDueDate
.PercentComplete = strCompPercent
.ReminderTime = strReminderDate
.ReminderSet = True
.UserProperties.Add "TaskID", olText
.UserProperties("TaskID") = strTaskId
.UserProperties.Add "AssignedTo", olText
.UserProperties("AssignedTo") = strDisplayName
End With
' send the task
oTask.Recipients.Add (strAssignTo)
oTask.ReminderSet = True
oTask.ReminderTime = strReminderDate
oTask.ReminderOverrideDefault = True
oTask.ReminderPlaySound = True
oTask.Assign
oTask.Send