Exact string comparison of Subject Field in emails

R

Ron_D

Good morning,
The built-in Rules wizard in Outlook doesn't look for differences between
upper/lower case letters. So I'm trying to create VBA codes that will look
at a subject of an email and compare it to what it should be. I'm trying to
use the exact function, because I'm familiar with that in Excel. But in
Outlook I'm getting an error.

Code:

if Exact(Text)="THIS is THE Text" then
' do something
end if
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top