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

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

Forum statistics

Threads
1,224,516
Messages
6,179,231
Members
452,898
Latest member
Capolavoro009

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