Skip to content

Instantly share code, notes, and snippets.

@randyburden
Created September 30, 2016 16:25
Show Gist options
  • Save randyburden/d088f56c86f8db462c63b19afd281a33 to your computer and use it in GitHub Desktop.
Save randyburden/d088f56c86f8db462c63b19afd281a33 to your computer and use it in GitHub Desktop.
Outlook VBA Scripts for Adding Categories to New Emails
Public Sub ShowCategoriesDialog()
Dim Mail As Object
Set Mail = Application.ActiveInspector.CurrentItem
Mail.ShowCategoriesDialog
End Sub
Public Sub AddAwaitingFeedbackCategory()
Dim Mail As Object
Set Mail = Application.ActiveInspector.CurrentItem
Mail.Categories = "Awaiting Feedback"
End Sub
Public Sub AddTrackProgressCategory()
Dim Mail As Object
Set Mail = Application.ActiveInspector.CurrentItem
Mail.Categories = "Track Progress"
End Sub
@randyburden
Copy link
Author

@DirtyRaul, no can do. I haven't touched Outlook scripts in 6 years and wouldn't know where to start. Good luck on your project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment