How can I set al pagesetups to: wide 1 and tall 1
In al sheets in combinations with:
Dim Rng As String
Dim Wks As Worksheet
Rng = "$AF$2:$AU$66,$AW$2:$BG$42"
For Each Wks In Worksheets
Wks.PageSetup.PrintArea = Rng
Next Wks
ActiveWorkbook.PrintOut Copies:=1, Collate:=True
End Sub
In al sheets in combinations with:
Dim Rng As String
Dim Wks As Worksheet
Rng = "$AF$2:$AU$66,$AW$2:$BG$42"
For Each Wks In Worksheets
Wks.PageSetup.PrintArea = Rng
Next Wks
ActiveWorkbook.PrintOut Copies:=1, Collate:=True
End Sub