Hello,
I am trying to set the print range on each sheet on my workbook. However the following does not work:-
thanks
Kapa
I am trying to set the print range on each sheet on my workbook. However the following does not work:-
VBA Code:
For sh = 1 To output_workbook.Sheets.Count
output_workbook.Sheets(sh).PageSetup.PrintArea = Range("a1:n28").Address
output_workbook.Sheets(sh).PageSetup.Orientation = xlLandscape
Next sh
thanks
Kapa