Created
September 30, 2016 16:25
-
-
Save randyburden/d088f56c86f8db462c63b19afd281a33 to your computer and use it in GitHub Desktop.
Outlook VBA Scripts for Adding Categories to New Emails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
@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
Hi
May I ask you if you could provide an edited VBA in order to call up the category items on any email, regardless if they are open or not?
Also, if possible, after categorising the email, be prompted to file it in a folder of my choice?
Thanks for any help.