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

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
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?
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,755
Members
448,989
Latest member
mariah3

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