nigelandrewfoster
Well-known Member
- Joined
- May 27, 2009
- Messages
- 747
When I amend the recorded code
To this:
The printer only produces 4 copies of the last range, and not each in turn. What am I doing wrong, please?
Thanks
Code:
Sheets("PRODUCTION").Select
Range("B1:K43").Select
ActiveSheet.PageSetup.PrintArea = "$B$1:$K$43"
ActiveWindow.SelectedSheets.PrintOut copies:=1
Range("B45:K87").Select
ActiveSheet.PageSetup.PrintArea = "$B$45:$K$87"
ActiveWindow.SelectedSheets.PrintOut copies:=1
Range("B89:K131").Select
ActiveSheet.PageSetup.PrintArea = "$B$89:$K$131"
ActiveWindow.SelectedSheets.PrintOut copies:=1
Range("B133:K176").Select
ActiveSheet.PageSetup.PrintArea = "$B$133:$K$176"
ActiveWindow.SelectedSheets.PrintOut copies:=1
To this:
Code:
Sheets("PRODUCTION").PageSetup.PrintArea = "$B$1:$K$43"
ActiveWindow.SelectedSheets.PrintOut copies:=1
Sheets("PRODUCTION").PageSetup.PrintArea = "$B$45:$K$87"
ActiveWindow.SelectedSheets.PrintOut copies:=1
Sheets("PRODUCTION").PageSetup.PrintArea = "$B$89:$K$131"
ActiveWindow.SelectedSheets.PrintOut copies:=1
Sheets("PRODUCTION").PageSetup.PrintArea = "$B$133:$K$176"
ActiveWindow.SelectedSheets.PrintOut copies:=1
The printer only produces 4 copies of the last range, and not each in turn. What am I doing wrong, please?
Thanks