printing multiple sheets

J

Jase

I need to print multiple sheets using VBA. I am currently using a looping
function to colate them that says

For intStart = 1 To intCopies
Sheets(1).Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
Sheets(2).Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
Next intStart

Is their a faster way to do this?

thanks,

Jase
 
J

Jim Rech

You can select all the sheets first and then print:

For Counter = 1 To 3
Worksheets(Counter).Select False
Next
ActiveWindow.SelectedSheets.PrintOut

Also, you can print an array of sheet names without selecting them:

Worksheets(Array("Sheet1", "Sheet2")).PrintOut


--
Jim
|I need to print multiple sheets using VBA. I am currently using a looping
| function to colate them that says
|
| For intStart = 1 To intCopies
| Sheets(1).Select
| ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
| Sheets(2).Select
| ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
| Next intStart
|
| Is their a faster way to do this?
|
| thanks,
|
| Jase
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top