I get thousands of e-mail alerts in my inbox daily, but many of them are actually trivial. I want to check whether the text of these alerts contains numbers below a certain threshold; if the numbers are lower than that threshold, alert me to the message and display a message box.
I'm using Outlook 2010 and have found several tutorials on writing Outlook macros in VB, including one about programmatically creating a rule to move messages to different folders.
But I don't want to check for keywords, I want to check if a number in the message (subject field) text is = to or less than a threshold value. For example, if the text of a message contains the following, id be alerted to it and a message box is displayed:-
The bit I need help with is there any way of writing a code that will only call the message box if the value in the e-mail subject field is below 45kohm? I can do this in the rule but I’d have to include all values below i.e. 39.99, 39.98, 39.97 and that’s far too long!