Link to home
Start Free TrialLog in
Avatar of msanzenb
msanzenb

asked on

Outlook check names via VBA

Is there a way to force check names in Outlook via VBA before sending email via VBA?  I ask because I'm getting an error when I send the following string as the email recipient "<address1>;<address2>", I get a name not recognized error.  But, when I go into outlook and type the string and hit check names, Outlook recognizes the addresses.
Avatar of puppydogbuddy
puppydogbuddy

I think you would be better off having a combo box for recipients that will provide you with autofill capabilities and the ability to add names to the list via a "not in list event" procedure.  The following link has free working demo with source code that you can download that will make it easy for you to implement.  After the web page comes up, select Email to Multiple Recipients Using an Outlook Object from the combo box on the left.

          http://www.candace-tripp.com/pages/access_downloads.aspx#21
ASKER CERTIFIED SOLUTION
Avatar of stevbe
stevbe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of msanzenb

ASKER

I ended up using the recipient object and the .resolve function....worked great!  Thanks!