Print specific worksheets from several different workbooks

twarden

Board Regular
Joined
Jun 29, 2006
Messages
64
Hopefully this will be simple. I am looking for a macro that I can use to print specific worksheets in various workbooks from one location. For instance:

Let's say I have 10 different reports (workbooks) each with 4 or 5 worksheets - and I want to print the following:

Workbook 1: SheetA, SheetB
Workbook 2: SheetE, SheetA
Workbook 3: SheetC
Workbook 4: SheetA, SheetB, SheetD

etc, etc, etc.

Is there a way to do this all at once?
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

twarden

Board Regular
Joined
Jun 29, 2006
Messages
64
Hi John - I gave a look at the post you referred to - but I think that's a bit beyond the level I'm at in terms of macros - I really am a very basic beginner. Any other suggestions?
 

Datsmart

Well-known Member
Joined
Jun 19, 2003
Messages
7,985
Copy the suggested code into a VBA Module.
Setup a Table similar to the one below with your Path, Filenames, and worksheets you want printed.
Excel Workbook
ABC
1PathFilenameSheet
2C:\~~~\Test\newTest\TestOne.xlsSheet1
3C:\~~~\Test\newTest\TestTwo.xlsSheet2
4C:\~~~\Test\newTest\TestThree.xlsJohnson1
Sheet


Run the "OpenPrint" macro to print out the pages.
 

Forum statistics

Threads
1,181,657
Messages
5,931,261
Members
436,785
Latest member
KingGideon

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
Top