We have a requirement to print a landscape report from a spreadsheet that contains 2 titles B2:C5 & Q2:AK5 and 2 data areas Q2:AK45 & Q86:AK108
Can do this fine for single areas where code has been recorded by someone in the past
Sub IBPreviousYr() ' ' Application.Goto Reference:="IBPreviousYr" With ActiveSheet.PageSetup .PrintTitleColumns = "$B2:$C45" .Orientation = xlPortrait End With ActiveSheet.PageSetup.PrintArea = "$BA$2:$BL$45" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False Sheets("Printing").Select End Sub
Anyone any ideas?