Excel Print All Tabs Macro

  • Thread starter Thread starter prahz
  • Start date Start date
P

prahz

Can anyone help me with this newbie question:

I need a macro that prints all tabs in a given workbook. Can anyone
provide me the code please?

Thanks,

Paul
 
Sure:
Sub code()
Dim sht As Worksheet
For Each sht In ActiveWorkbook.Worksheets
sht.PrintOut
Next sht
End Sub

HTH
 

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

Back
Top