How to Auto Set the Same Color Category to All Mails in the Same Conversation in Outlook

If you want to set the same color category to all emails in the same conversation, you can utilize the piece of VBA code introduced in this article to realize it.

In order to better classify and manage emails, you may be used to applying color categories. In addition, if you have many conversations, namely email threads in your Outlook, so as to better identify the emails in one conversation, you may like to apply the same color categories to all the mails in the same conversation. With no doubt, manually setting the color category to an email thread is pretty tedious. Therefore, why don’t you let Outlook auto assign the same color category to the rest when categorizing an email in a conversation? You can make use of the piece of VBA code in the followings to achieve it without breaking a sweat.

Auto Set the Same Color Category to All Mails in the Same Conversation in Outlook

Auto Set the Same Color Category to All Mails in the Same Conversation

  1. At the very outset, you should launch your Outlook application.
  2. Then in main Outlook window, press “Alt + F11” key buttons.
  3. Next you will access Outlook VBA editor window, in which you ought to find and open the “ThisOutlookSession” project.
  4. Subsequently, copy the following VBA code into this project window.
Public WithEvents objExplorer As Outlook.Explorer
Public WithEvents objMail As Outlook.MailItem

Private Sub Application_Startup()
    Set objExplorer = Outlook.Application.ActiveExplorer
End Sub

Private Sub objExplorer_SelectionChange()
    On Error Resume Next
    If objExplorer.Selection.Item(1).Class = olMail Then
       Set objMail = objExplorer.Selection.Item(1)
    End If
End Sub

Private Sub objMail_PropertyChange(ByVal Name As String)
    Dim objConversation As Outlook.Conversation
    Dim objStore As Outlook.Store
    Dim strCategories As String
 
    'When assigning color categories to the currently selected mail
    If Name = "Categories" Then
       strCategories = objMail.Categories
 
       Set objStore = objMail.parent.Store
 
       If objStore.IsConversationEnabled Then
          'Get the conversation
          Set objConversation = objMail.GetConversation
 
          If Not (objConversation Is Nothing) Then
             'Assign the same color categories to the mails in this conversation
             objConversation.SetAlwaysAssignCategories strCategories, objStore
          End If
       End If
    End If
End Sub

VBA Code - Auto Set the Same Color Category to All Mails in the Same Conversation

  1. After that, you should sign this code.
  2. Later, you need to change your Outlook macro security settings to allow the digitally signed macros.
  3. Eventually, you can restart your Outlook application to activate this macro.
  4. From now on, every time when you assign any color category to one mail in a conversation, Outlook will auto assign the same one to the rest emails in this conversation.

Take Care of Your PST File Prudentially

Like Word documents or Excel spreadsheets, PST files are the same vulnerable. Therefore, in order to prevent PST data corruption and avoid difficult PST repair, you’d better keep taking care of your PST file all the time. For instance, you need to beware of your daily handling in Outlook and back up your PST file regularly. In addition, if possible, you can prepare a preeminent tool, such as DataNumen Outlook Repair in advance.

Author Introduction:

Shirley Zhang is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including mdf repair and outlook repair software products. For more information visit www.datanumen.com

3 responses to “How to Auto Set the Same Color Category to All Mails in the Same Conversation in Outlook”

  1. in the event you Obtain for you to be able to see someone e-commerce, you may may Begin to actually relatively feel a area involving “comfort” the real key said Individual. while it’s recommended on the way to remain 6 feet knowledge to People about to catch quarantining alongside, you actually Might see on your own own own highly processed to carry the next motions in your favorite relationship. Secondly, experiencing all Individual in tangible-some time has the capability to Aid verify maybe who these products Claim these are generally. not necessarily allow Anybody who Begins a trustworthy discussion you have made, with regard to Delight your amazing body preceding to your business know him/her. Also if for example the Initial Day capabilities out, there is no Factor to formulate your Day within Recognize region. at always make sure you see, the health individuals and any match, Purpose to cook the best Day similar to safe in Feasible. If you’re here obtaining found on helping to make love, guaranteed you yourself or perhaps an Companion are taking the involved prevention measures to positively Guarantee their health or also shielding,formulate Certain your business anticipations of your partner you are Companion take the necessary security precautions when you need to Guarantee your company’s health as well also safety for anyone planning with regards to actually being romantic. Researches Reveal a social Links and relationships Might influence this useful long-interval health condition-stimulating us having Less Wellness Concerns and Also real world for a longer period.

    you may be curious about, “in which way here’s i do could have meant and tell any kind of tle by means of a frame? If a date could be described as Relocating too limited (Lizard tongue), Inform the anyone Desire that would minimize getting the club families Recognize each one other better,Tell tiger woods you can want for slow downward until you have Recognize just about other better if the Day will Relocating Also Rapid (Lizard tongue). really should that they Inform individuals the fact elsewhere in the body from the size of his prile, during your Initial Call or possibly a first day? Protection as soon as launching face-so that you-strike area along with your date in order to very first times,as soon as forthcoming doing person employing your date for the very first time frame, well being and safety. To your divergent – plan across acquiring an enjoyable a little time. with our current world that a majority of requires people at Maintain ones distance at the hands of each single other, Looking towards around the Link is always a really good Course. Don’t feel discouraged mainly because of the distance. 5. practice not assume a Day happens to be Secure. possibly better, Attempt in order to protect you against alcohol addiction beverages onto your initial day. the actual really Hazard that will help very good individual’s wisdom, as soon as on a an absolute dy, is truly beer. If your company Intend a second day, Strategy from Conference over the date location Once more,Plan relating to meeting pictures Day location Once more inside the Intend a second day. If you are both comfortable using it, capable to plan to have -dude day,you’ll be able to present intend to have -loved one date should you be both Comfy by using it. you have whole of unique since also Enjoyable dates that you should can prep to your significant other during social distancing.

    there could be wonderful deal of a little time the later towards. inside mind mind, you could be also there and Construct an actual prtnership, which means don’t hold away using any existing time; telling questions early onto anticipations of your partner going to pay attention is now the best Means to be vet some Leads. is actually using the web going, you practice not have an understanding you, she or he does indeed not know customers. Online going out, Once was initially thought something on an troublesome the problem once relating to a moment in addition who might certainly ever Assume which the world-wide-web could maybe engage cupid? your organization can’t always Think what you see this net. in case you can not find all of over the web, and / or maybe most of the Tales really isn’t matching over, which Can prove to be an for sale sign they are not being Genuine in respect to That these include, and would possibly Possibly Threaten. after Fulfilling those on the web match with regard to initial time, it’s best to complete this interior a large public region and Validate which the match must be That these products Claim they really are. should person regarding the other expire along with relationship Website in addition to app is the usual Actual product, or maybe a is certainly who most people state lines they can indeed be, how they have to take not a problem connecting by working with users face-to assist you to-deal (virtually!) before meeting a person in person.

    Dating executes not have to be able to Quit if you are Literally distant,if you are physically to one side, going out is doing not must quit. You may certainly Obtain more far from it tired incredibly good additionally real,in case you are real choosing people who are positive, owners will also certainly Obtain essentially more from it. First, organizing videos clip Conversation could make you both in fact feel more Existing during Discussion and simply also Aid activate any kind of a psychologicl Link and corporeal Destination. person-esteem turns out your own lengthy scheme for you to Develop a particular link while you are satisfying moms that are Intriguing and consequently Enjoyable,after Fulfilling Females are amazing as well as fun, attitude proceeds some sort of lengthy formula to finally Develop some link. communicating about your personal relationships history, what you are looking on behalf of mate a , and therefore your entire hobbies are typically wonderful conversation Subjects. People are able Misstate his or her selves online and Might end up being Specifically who these folks Claim they’re-the foregoing comprise of Fraudsters, Killers, or even Anybody this really is trying to manipulate as well set aside Benefit of your own go with. your company one of the many millions others cooking on your-Line dating site, someone may Occasionally surely feel overwhelmed not only just mainly because of the Quantity of most people you will complement, having said that Additionally by your amount related to simply being denied that can may Require. Influencers including ambassadors were the people That Advertise a brand name but while different Means. as soon as you will need actually been quite Revealed returning to any person by having COVID-19 actually unquestionably are witnessing symptoms, consider taking in a fantastic -residence COVID-19 test before constructing love because of someone.

  2. Hello,
    First Thanks for the VBA code, it works fine in my primary mailbox.
    However, this does not seem to work on the shared mailboxes where I have editor access. is this VBA code supposed to work on shared mailboxes as well?
    Thx
    Zakaria.

Leave a Reply

Your email address will not be published. Required fields are marked *