Link to home
Start Free TrialLog in
Avatar of Hiroyuki Tamura
Hiroyuki TamuraFlag for United States of America

asked on

Outlook Macro question

the following script works if I open the email.
is there a way to use this script when i select the email?

Public Sub CategoriesButton()
   Dim Item As Outlook.MailItem
   Set Item = Application.ActiveInspector.CurrentItem
   Item.Categories = "SendMe"
   Item.Save
End Sub
Avatar of Hiroyuki Tamura
Hiroyuki Tamura
Flag of United States of America image

ASKER

User generated image
ASKER CERTIFIED SOLUTION
Avatar of Kelvin Sparks
Kelvin Sparks
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial