Hi all,
I am new to outlook automation. I have searched online but most of the post are telling me how to turn on importance. I need to turn the high importance off. Is there anyway to do it using vba?
Cheers,
Bryan
Printable View
Hi all,
I am new to outlook automation. I have searched online but most of the post are telling me how to turn on importance. I need to turn the high importance off. Is there anyway to do it using vba?
Cheers,
Bryan
You need to set the importance to normal importance e.g.
Code:Sub Importance_ON_Off()
Dim olItem As Object
On Error Resume Next
Set olItem = ActiveExplorer.Selection.Item(1)
'olItem.Importance = olImportanceHigh
'MsgBox "Item has high importance"
olItem.Importance = olImportanceNormal
MsgBox "Item has normal importance"
olItem.Save
lbl_Exit:
Set olItem = Nothing
Exit Sub
End Sub