Excel VBA Macro to send emails & attachments

Jordan2

New Member
Joined
Apr 4, 2024
Messages
13
Office Version
  1. 365
Platform
  1. Windows
Hi,
I need some help in putting together a macro which matches the excel files in a folder to the name in the main folder and send only those ones out.

For example I have 10 excel files in my folder, let's say on the desktop:
Each folder is named 'Person 1' through to 'Person 10' and in the file it's got everyone's contact information.
How would I create this and produce only 10 emails with their 10 individual attachments?

Thanks.
 
You've got no PC at home, no USB stick to transfer my little file? I'm using skype for my individual file transfer ...
Not currently no, I am sure it would just be a few tweaks to my current code I found might get it to work?
 
Upvote 0

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
Good to hear you got the solution.
If you would like to post the solution then it is perfectly fine to mark your post as the solution to help future readers. Otherwise, please do not mark a post that doesn't contain a solution.
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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