Hi
by the way, should the 2nd last line be
Application.ScreenUpdating = True?
Yes
That happen when you copy the first line<g
Try this (change the sheet names)
Sub Test3()
Dim Nwb As Workbook
Application.ScreenUpdating = False
Sheets(Array("Sheet1", "Sheet2", "Sheet3", "Sheet4")).Copy
' copy the sheets in a new workbook
Set Nwb = ActiveWorkbook
Nwb.Sheets.Select
Cells.Select
Selection.Interior.ColorIndex = xlNone
Nwb.PrintOut
Nwb.Close False
Application.ScreenUpdating = True
End Sub
--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
www.rondebruin.nl
"courtesio99" wrote in message ...
Thanks a lot man!
You are indeed a great help!
by the way, should the 2nd last line be
Application.ScreenUpdating = True?
And how should I modify the code if I have 4 sheets and I want to print
all the 4 sheets?
---
Message posted from http://www.ExcelForum.com/