VBA 365 code to set up e-mail with multiple attachments and multiple users using an excel table

Daccota_lenny

New Member
Joined
Oct 13, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello!

I have a process that I have to do each month that requires me to e-mail multiple different people with different attachments on each e-mail, however the subject line and body of the e-mail is always the same.
I am planning on sharing this with other users who don't know much about excel so I think it best to have a shared excel table that they can plug in the information and then we can run the macro all at once for a mass e-mail.

Right now my test table looks like this:

1665681987997.png


I don't really know much about VBA - can anyone help with the code? I do know I need it to work on a loop so that each line is sent as a separate e-mail from the last. This will save my team countless man hours! I appreciate you all :)
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
It is hard to work with pictures. It would be easier to help if you could use the XL2BB add-in (icon in the menu) to attach a screenshot (not a picture) of your sheet. Alternately, you could upload a copy of your file to a free site such as www.box.com or www.dropbox.com. Once you do that, mark it for 'Sharing' and you will be given a link to the file that you can post here. Explain in detail what you want to do referring to specific cells, rows, columns and sheets using a few examples from your data (de-sensitized if necessary). How many attachments can there be? Can individuals have a different number of attachments?
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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