Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA outlook Item.To

Status
Not open for further replies.

simoncpage2

Programmer
Feb 21, 2004
37
0
0
I am using Item.To to look into a email address with outlook for a certain domain name.

The problem is that with Instr(Item.To, "NAME") doesn't work when the email address is in the contacts list and the resolved display name is shown.

What ideally want is Instr(Item.To.EmailAddress, "NAME")

Can anyone help me with this? Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top