Using VBA to send personalized emails

yrechtman

New Member
Joined
Oct 1, 2014
Messages
3
Hi all,
Im trying to send emails from an excel spreadsheet. I have names and email addresses in columns A & B. I also have an embedded text box with a generic message. My end goal would be to create send each person and email reading"Dear Name," followed by the text from the text box.

I have run into two issues that I cannot figure out. The first issue is that although I can easily stick the text box in and email, I cannot figure out how to stick the name in before it. The second is that i can thus far only managed to send one email to everyone on the list which won't do. I need individual emails to go out to each (theoretically they will be personalized with names). I found some code online and it got me this far with some tooling around but I'm too new to VBA to figure it out beyond these issues. Thanks!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Hi and Welcome to MrExcel,

Ron de Bruin's website has many examples showing how to use VBA to send email messages for different scenarios.

The examples on this page are probably the closest to what you want....
Mail a message to each person in a range

When you say that you have a text box, do you mean an ActiveX or Forms Control? If so, which type?
 
Upvote 0

Forum statistics

Threads
1,223,248
Messages
6,171,027
Members
452,374
Latest member
keccles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top