0

How do I force a range in Excel VBA say ("a1:z60") to print ONLY two pages page(1) from ("a1:z40") and page(2) from ("a41:z60").

Also separately, how can I force the same range say ("a1:z60") to print ONLY two pages page(1) from ("a1:p60") and page(2) from ("q1:z60").

In addition I want the zoom to be maximum possible (under the given conditions) for each of my two pages.

Many Thanks

Community
  • 1
  • 1
JoeJoe
  • 81
  • 1
  • 4

1 Answers1

0

To print a selection on a page:

Range("A1:E44").Select
With ActiveSheet.PageSetup
    .FitToPagesWide = 1
    .FitToPagesTall = 1
End With
Selection.PrintOut Copies:=1

change range to whatever range you need, and change the pages wide & tall to how you want the page to be seen

SeanC
  • 15,695
  • 5
  • 45
  • 66