troubleshooting Question

Include Name with email when sending emails from Excel using CDO

Avatar of jack3_99
jack3_99Flag for United States of America asked on
Microsoft Excel
4 Comments1 Solution553 ViewsLast Modified:
I am using the CDO function in Excel to send batches of emails.  I would like to include the recipient's name in addition to their email address in the To field.

Their name is referenced by cell.Offset(0, 2).Value and their email is reference by cell.Offset(0, 3).Value.  

I receive an error if I simply concatenate the two fields together (cell.Offset(0, 2).Value & cell.Offset(0, 3).Value)

Can I include their name in the To field?  If so, what is the syntax?

Thank you in advance for any help.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros