UncleBajubjubs
Board Regular
- Joined
- Jul 11, 2017
- Messages
- 111
- Office Version
- 2010
Hello, I have code to set the print margins on an excel sheet with 9 sheets printed. The code is the following:
<code>
ActiveSheet.PageSetup.PrintArea = "$A$14:$P$87,$A$88:$P$155,$A$162:$P$221,$Q$14:$AE$87,$Q$88:$AE$155,$Q$162:$AE$221,$AG$14:$AV$87,$AG$88:$AV$155,$AG$162:$AV$221"
</code>
Which I would think would make it print like
1 4 7
2 5 8
3 6 9
But it instead prints
1 3 7
2 4 8
5 6 9
Any suggestions?
<code>
ActiveSheet.PageSetup.PrintArea = "$A$14:$P$87,$A$88:$P$155,$A$162:$P$221,$Q$14:$AE$87,$Q$88:$AE$155,$Q$162:$AE$221,$AG$14:$AV$87,$AG$88:$AV$155,$AG$162:$AV$221"
</code>
Which I would think would make it print like
1 4 7
2 5 8
3 6 9
But it instead prints
1 3 7
2 4 8
5 6 9
Any suggestions?