VBA outlook, detect priority emails

Status
Not open for further replies.

Touzani

New Member
Outlook version
Outlook 2010 64 bit
Email Account
hello,

Please I need your help, I'm trying to detect some priority emails on outlook but the problem is that when I tried to use "conditional formatting" by selection in conditions to find the world "priority:critical" in this kind of emails :

dear ..;

.......................
> UK_ ORION_IPA STP LIMITS -_Revert IFO IPA STP Limit to Zero
> -----------------------------------------------------------
> Key: ITECM-17763

> URL: XXXX
> Project: XXXX
> Issue Type: Production Incident
> Components: XXX
> Environment: Production
> Reporter: XXXX
> Assignee: XXXX
> Priority: Critical



Outlook can't detect the world: "Priority: Critical" . The goal is for me, to change the color of the priority emails to try to solve it the earlier as I can.
I tried many solutions to find a solution on the internet, but unfortunately, no one talks about this kind of problem.
Please if someone can give me a solution or just an idea to start with to solve this problem. I'm thinking also to use a macro on VBA to find the world on different mails that I receive , but i didn't find how to do it.

Thanks for your help guys.
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
"priority:critical"
Not sure if this is just typing here or if its in the rule like this, but copy the words from the message body to create the formatting rule so you get the right number of spaces between words.

If it won't work with the copied words, look at the message source - are they one phrase or is there html coding in between?
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
FWIW, it's not detecting either word alone here when i test it on the emailed copy of this post, but does work (using Priority: Critical) if i copy and paste the blue text into a new message.

Change a test message to plain text format and see if it highlights it.

BTW, I'm using the advanced tab to create the Message filter - not sure it matters though.
 

Touzani

New Member
Outlook version
Outlook 2010 64 bit
Email Account
Hello Diane ,
Thanks you for your reply, I tried the same, when I copy only the "Priority: Critical" and send it on a new email, it's worked for me and outlook can then detect the world . But, when the world "Priority: Critical " is inside whole the email, outlook can't detect it, the problem is that I can't modify the email, this is an automatically email that I received all day, and I need to classify the priority .

Anyway thanks a lot for your help,
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
in looking the source
Code:
Assignee: XXXX<br>&gt;            Priority: Critical</span>
on the email generated from this post, it does have spans - but that should be usable in the view.
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
D Outlook VBA error extracting property data from GetRules collection Outlook VBA and Custom Forms 10
O Email not leaving Outbox when using Excel VBA to sync Outlook account Outlook VBA and Custom Forms 4
L Moving emails with similar subject and find the timings between the emails using outlook VBA macro Outlook VBA and Custom Forms 1
B Outlook Business Contact Manager with SQL to Excel, User Defined Fields in BCM don't sync in SQL. Can I use VBA code to copy 1 field to another? BCM (Business Contact Manager) 0
N How can I increase/faster outlook VBA Macro Speed ? Using Outlook 2
N Outlook Email Rule execution through shortcut keys (VBA codes) Using Outlook 1
A VBA Code in Outlook disappears after first use Outlook VBA and Custom Forms 1
dweller Outlook 2010 Rule Ignores VBA Script Outlook VBA and Custom Forms 2
G Outlook VBA and Google Calendar ("Events") Outlook VBA and Custom Forms 1
J VBA Outlook : Subject line : Cut and Paste name to heading , number to very end of the body of Email Outlook VBA and Custom Forms 1
B Advanced Search in MS Outlook by VBA and SQL Outlook VBA and Custom Forms 2
K Outlook Archive to PST Files by Date Range VBA Script? Outlook VBA and Custom Forms 1
J Help Please!!! Outlook 2016 - VBA Macro for replying with attachment in meeting invite Outlook VBA and Custom Forms 9
S Find a cell value in excel using outlook vba Using Outlook 1
J Execute Add-In Button from VBA Outlook 2016 Outlook VBA and Custom Forms 1
J Open an outlook email by Subject on MS Access linked table with VBA Outlook VBA and Custom Forms 10
D create an html table in outlook custom form 2010 using vba in MsAccess Outlook VBA and Custom Forms 7
M Slow VBA macro in Outlook Outlook VBA and Custom Forms 5
T Outlook AntiSpam with VBA Outlook VBA and Custom Forms 1
F "Move to" O365 feature to Outlook client via VBA Outlook VBA and Custom Forms 4
B query outlook using vba Outlook VBA and Custom Forms 13
J VBA to switch Outlook online/offline Outlook VBA and Custom Forms 4
M VBA to change flag status in outlook contact item Outlook VBA and Custom Forms 3
C Need VBA code to automatically save message outside outlook and add date Outlook VBA and Custom Forms 1
stephen li VBA Outlook send mail automatically by specified outlook mail box Outlook VBA and Custom Forms 1
S Outlook VBA Contacts Notes Outlook VBA and Custom Forms 0
O VBA to Run Font Change on Outlook Startup Outlook VBA and Custom Forms 4
P Outlook 2007 Email Categorization using VBA Outlook VBA and Custom Forms 1
O VBA or other solution for Outlook tasks to OneNote Outlook VBA and Custom Forms 0
S Automatically selecting folders and deleting messages in Outlook VBA Outlook VBA and Custom Forms 7
D Creating an outlook session from Access vba but run silently. With A specific profile Outlook VBA and Custom Forms 1
Diane Poremsky Outlook VBA: Use a Text File to Populate a ListBox New Slipstick.com Articles 0
C Saving Outlook attachments and links to attachments with VBA Outlook VBA and Custom Forms 2
Diane Poremsky Outlook VBA: Work with Open Item or Selected Item New Slipstick.com Articles 0
Diane Poremsky Working with VBA and non-default Outlook Folders New Slipstick.com Articles 0
C Outlook VBA to set current account Outlook VBA and Custom Forms 1
Diane Poremsky Use VBA to create an Outlook Search Folder for Sender New Slipstick.com Articles 0
F VBA routine to write new sub routine in outlook Outlook VBA and Custom Forms 0
D Change sender name outlook vba 2010 Custom Userform Outlook VBA and Custom Forms 1
G Adding a contact to Outlook with a custom form using Access VBA Outlook VBA and Custom Forms 1
C Outlook 2016 - converting Word VBA to default Outlook message Outlook VBA and Custom Forms 0
N VBA Script to Send Automatic Emails from Outlook 2010 Outlook VBA and Custom Forms 1
P Outlook 2016 from Excel 2016 VBA Using Outlook 1
N Get the seconds with userproperties.add method VBA Outlook Outlook VBA and Custom Forms 4
S Outlook 7 VBA macro for multiple filing Outlook VBA and Custom Forms 1
G Outlook 2010 VBA Coding Assistance please! Outlook VBA and Custom Forms 5
Norbert VBA Flag that would indicate the email was sent from Outlook to Access. Outlook VBA and Custom Forms 2
Peter H Williams VBA & Outlook 2007 Using Outlook 3
N VBA Outlook reference to Excel and assigning category Outlook VBA and Custom Forms 13
S Choose-outlook-startup-folder with VBA Outlook VBA and Custom Forms 6
Similar threads


















































Top