Hey guys,
please help me. This should be really simple for you but I can't figure out why it doesn't run the pages and print each of them. This is the code:
Sub Macro()
Dim ws As Worksheet
For Each ws In ThisWorkbook.Worksheets
With ws
ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1, Copies:=1, Collate _
:=True
End With
Next ws
End Sub
Thanks a lot.
Ali
please help me. This should be really simple for you but I can't figure out why it doesn't run the pages and print each of them. This is the code:
Sub Macro()
Dim ws As Worksheet
For Each ws In ThisWorkbook.Worksheets
With ws
ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1, Copies:=1, Collate _
:=True
End With
Next ws
End Sub
Thanks a lot.
Ali