This macro only prints the sheets that have the value 8 in cell A1. Adapt to
your needs!
Sub PrintOnlySomeSheets()
For Each s In Sheets
If s.Cells(1, 1) = 8 Then ' <--- Adapt the cell position and value
to your needs
Sheets(s.Name).Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
End If
Next
End Sub
--
Message posted via
http://www.officekb.com