scottclayton
New Member
- Joined
- Apr 20, 2014
- Messages
- 8
Greetings Excelers
I appear to be stuck on inserting page rows every nth line by getting that value from a cell value on each sheet.
With each sheet, cell BA2 is going to have a number in it, for example, 57, which is the number of rows to print on a page. Cell BA3 will have a value of the furthest-down row to print—e.g. 4218.
I'm trying to set it that for each worksheet selected, the sheet will be .FitToPagesWide = 1, and .FitToPagesTall = False, with page breaks after each BA2 rows. In case we need to know the number of rows down the last printable info is, BA3 has that value—end(xldown) won't work for this.
I'm automating a label-maker that has sheets with varying label sizes, and sometimes I might print a half-dozen sheets at once, but printers often have different margins, and different margins depending on the computer talking to it, which is annoying.
Anyone have any ideas?
Thanks!
-Scott
I appear to be stuck on inserting page rows every nth line by getting that value from a cell value on each sheet.
With each sheet, cell BA2 is going to have a number in it, for example, 57, which is the number of rows to print on a page. Cell BA3 will have a value of the furthest-down row to print—e.g. 4218.
I'm trying to set it that for each worksheet selected, the sheet will be .FitToPagesWide = 1, and .FitToPagesTall = False, with page breaks after each BA2 rows. In case we need to know the number of rows down the last printable info is, BA3 has that value—end(xldown) won't work for this.
I'm automating a label-maker that has sheets with varying label sizes, and sometimes I might print a half-dozen sheets at once, but printers often have different margins, and different margins depending on the computer talking to it, which is annoying.
Anyone have any ideas?
Thanks!
-Scott