I have a workbook with some 40 sheets. The print area for each sheet can vary, so I have enetered the range into Cell A1 on each sheet (e.g. $E:$U). I would like to create a macro to skip through each sheet and set the print area before printing. Is there a way of doing this in a loop rather than name each individual sheet name like below:
Code:
Sub PrintArea()
Sheets("Breach Analysis").Select
ActiveSheet.PageSetup.PrintArea = Range("A1").Value
Sheets("TimelyEx").Select
ActiveSheet.PageSetup.PrintArea = Range("A1").Value
Sheets("ClientMoney").Select
ActiveSheet.PageSetup.PrintArea = Range("A1").Value
End Sub()