- Joined
- May 18, 2009
- Messages
- 4
- Reaction score
- 0
Hello, is it possible to change priority from High to Normal on a Task without open it, only select the task in Outlook Activity ? I've a macro but when i launch it nothing appened. Any suggestion ?
Sub prova()
'Pick the task item
Dim objTask As Outlook.TaskItem
Set objTask = Application.CreateItem(olTaskItem)
'See if the importance is high, then set it to normal
If objTask.UserProperties("Activity Priority").Value = "High" Then
objTask.Importance = olImportanceNormal
End If
'save it back
objTask.Save
Set objTask = Nothing
End Sub
Sub prova()
'Pick the task item
Dim objTask As Outlook.TaskItem
Set objTask = Application.CreateItem(olTaskItem)
'See if the importance is high, then set it to normal
If objTask.UserProperties("Activity Priority").Value = "High" Then
objTask.Importance = olImportanceNormal
End If
'save it back
objTask.Save
Set objTask = Nothing
End Sub