Automated Excel->Pdf conversion + Email sending

Ipitos

New Member
Joined
Jun 28, 2020
Messages
1
Office Version
  1. 365
Platform
  1. Windows
  2. Web
Hello!

I have a problem I've seen many different answers, but not the way I would like it to happen.


I have many excel files in folder and I need to create individual PDF files, send them to a email pointed out in the excel file, sometimes there are more than 1 email, so is it possible to search for a recipient email from the sheet or does it need to be a specific cell? There can never be any other email than the ones I want to send the file.


So in a nutshell what I would like for the VBAcode to do:

1. Create pdf from the excel file I have
2. Attach the pdf to a email and send it to the recipient that is found from the pdf/excel
- Only need to customise the Topic, since the email is the same for everyone, only pdf/recipients are unique
3. Go through that in a loop, so I could send all files from the folder without any manual work
(I need to save the excel and the pdf files, so they would need to stay in the same folder)

Thank you so much in advance, this could possibly save me so many working hours.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,214,971
Messages
6,122,525
Members
449,088
Latest member
RandomExceller01

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