buildergaq.blogg.se

Automatically highlight word in word
Automatically highlight word in word




automatically highlight word in word
  1. #Automatically highlight word in word how to#
  2. #Automatically highlight word in word code#

Click Next > Next, in last dialog, give a name for this rule.įrom now on, the keywords you specified will be auto highlighted in the incoming emails.

#Automatically highlight word in word code#

Click Next > Next > Yes to go to the third dialog, check run a script from Step1 section, then click a script in Step2 section to enable Select Script dialog, choose this code _SpecificWords. In the Rules and Alerts dialog, click New Rule under E-mail Rules tab, then in Rules Wizard dialog, click Apply rule on messages I receive.ĥ. Then save the code and go back to Outlook,under Home tab, click Rules > Manage Rules & Alerts.Ĥ. Tip:in the code, you can change the keywords as you need in this script xWordArr = Array(" Kutools", " Important").

automatically highlight word in word

XHTMLBody = Replace(xHTMLBody, xWord, xStr) XWordArr = Array("Kutools", "Important") 'keyword Sub AutoHighlight_SpecificWords(Mail As Outlook.MailItem) Private Sub GMailItems_ItemAdd(ByVal Item As Object) Public WithEvents GMailItems As Outlook.Items VBA: Auto highlight keywords in incoming emails Then double click ThisOutlookSession in left Project pane, and copy and paste below code to the new code window. Press Alt + F11 key to enable the Microsoft Visual Basic for Applications window.Ģ. No built-in function in outlook can handle this job except VBA.ġ. In Outlook, you may receive hundreds and thousands emails every day, have you ever wanted to auto highlight some specific keywords from incoming emails? In this article, I introduce a VBA code to automatically highlight the keywords you specify from incoming emails in Outlook.Īuto highlight keywords from incoming emails

#Automatically highlight word in word how to#

How to automatically highlight specific keywords from incoming emails in Outlook






Automatically highlight word in word