Macro to create a PDF of an external excel workbook

davidalldred

New Member
Joined
Sep 13, 2016
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hi peeps, I am pretty sure that this can be done, but I have no idea where to start so I am hoping someone here can.

What I would like to have is a macro-enabled workbook that will allow you to select another workbook with multiple worksheets and either save it as a PDF or print it to a PDF.

My thoughts of a solution would be to have a Macro Workbook that you open, and you would either put the address into a cell and run the macro or you run the macro and a pop up window opens up and you go to the workbook file location that you want to print to PDF. It would then create, save and open the PDF so that it can be checked.

I know how to create a macro to do this within a workbook, but I don't want to make it into a macro-enabled workbook.

I don't have any examples to attach as it's just an idea I have to make it easy to create PDFs.

Thanks in advance for any solutions.

Dave.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,225,364
Messages
6,184,536
Members
453,239
Latest member
dbenthu

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