selecting a series of worksheets for printing not whole workbook

M

MikeR-Oz

Can this be done? I have 5 sheets in the book but want to print only 3 of teh
worksheets. When I look at the File/print/ it only gives me the option of
the whole book?

Ta

Mike
 
D

Dave Peterson

You can group the 3 sheets you want.

Select the first sheet, ctrl-click on the subsequent tabs and then print.

Remember to ungroup the sheets when you're done.
 
D

Don Guillett

Something like this.

Sub printselectedshts()
myarray = Array("sheet1", "data")
For Each sh In myarray
'MsgBox Sheets(sh).Range("a1")
MsgBox Sheets(sh).PrintOut 'Preview
Next sh
End Sub
 

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