With ActiveSheet.PageSetup
.PrintArea = "$A$1:$C$16"
.Orientation = xlPortrait
End With
ActiveWindow.SelectedSheets.PrintOut
With ActiveSheet.PageSetup
.PrintArea = "$A$17:$C$26"
.Orientation = xlLandscape
End With
ActiveWindow.SelectedSheets.PrintOut
End Sub
Change the two ranges according to your spreadsheet layout
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.