Do I need to put in the sheet name? I need to use this macro across multiple workbooks with similar worksheets but the tab names are different.
Sub pageSetup()
ActiveSheet.pageSetup
.Orientation = xlLandscape
.PaperSize = xlPaperLegal
.FitToPagesWide = 1
.FitToPagesTall = 1
.LeftMargin = Application.InchesToPoints(1#)
End Sub