Avatar of David
David
 asked on

Mail merge to email(outlook) individual letters to multiple recipients with cc

I have excel data that I use to complete a letter via mail merge.  I then need to create an email and attach letter or paste as an image and send to multiple recipients with a cc as well.   As I have 160 letters, Iam not sure if it is possible to do all that automatically?  I can create VBA in excel to open new mail, add to and cc contacts, fill in subject line and enter text in body.  I could attach file but mail merge creates one file.  I tried word mail merge, but a lot of formatting to get the letter looking professional in the body of email and it will only do one email contact, no cc.  Any help would be great, not sure if I'm wasting time on something that's not possible
Microsoft Excel* CodingVBAMicrosoft Office

Avatar of undefined
Last Comment
David

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
GrahamSkan

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
David

ASKER
Thanks didn't think about approaching in 2 steps.  So the above separates the individual letters.  When I then complete the second piece in excel, is there a way to reference a specific file name to be added in each email?
GrahamSkan

The macro above extracts the unique data (e.g. recipient) which is used for the file names from a particular position in the letter. (I arbitrarily chose it to be the text before the first tab character.) You could match the file names to the list of recipients.
David

ASKER
Thanks for the assistance with the code and approach to my problem.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes