VBA Email; Send a specific Sheet to a specific Email Address

FelixSall

New Member
Joined
Aug 20, 2018
Messages
6
Hi There,

I'm new to this forum so please redirect if i'd post in the wrong area. :)

With that said im currently stuck on figuring out how I could arrange an automated email process via Excel and Outlook.
I've come so far that I managed to create an email list and generate a given Subject + Body and send these to a given email address according to my list.

My query and ambition is that I could add attach a given sheet per email address.:eeek:

My setup is like this:
Column A: Email list, Column B: Name, Column C: Body (with replace_name)
Now how can I arrange so that in theory: The first email will use the address in A1, the name in B1 and the body in C1 and THEN attach the sheet called "DC_1" (in the same workbook)
and for the next email A2, B2, C1 + attach sheet "DC_2" :confused:

Sorry for grammar errors (I'm Swedish :))
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Well, the point is that there are 16 different sheets and each one of the sheets are supposed to go to a specific email address.
OFC I could send just the sheet and manually type in their emails address.

But doing that each month is something i'd like to avoid - hence the thread....
 
Upvote 0

Forum statistics

Threads
1,223,907
Messages
6,175,300
Members
452,633
Latest member
DougMo

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