L
LiAD
Morning,
In col R of sheets 4 to 11, (named a b c etc), I have a list of numbers
which ascend from 1. I would like to use these numbers to set a print range.
The print range should be
A1:O(last line of interest)
The last line of interest is last line with a number greater than zero. So
for example in -:
Sheet 4 the number list starts in row 1 and reads 1 1 1 1 1 2 3 4 5 6 0 0 0
0 so the print range should be A1:O10.
Sheet 5 it reads 23 23 23 23 23 23 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
0 0 0 0 so the print range should be A1:O23.
Is it possible to have a macro that sets the print range for each sheet and
then prints the sheets accordingly, with the printer selected from the usual
pop-up dialogue box.
Thanks
LiAD
In col R of sheets 4 to 11, (named a b c etc), I have a list of numbers
which ascend from 1. I would like to use these numbers to set a print range.
The print range should be
A1:O(last line of interest)
The last line of interest is last line with a number greater than zero. So
for example in -:
Sheet 4 the number list starts in row 1 and reads 1 1 1 1 1 2 3 4 5 6 0 0 0
0 so the print range should be A1:O10.
Sheet 5 it reads 23 23 23 23 23 23 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
0 0 0 0 so the print range should be A1:O23.
Is it possible to have a macro that sets the print range for each sheet and
then prints the sheets accordingly, with the printer selected from the usual
pop-up dialogue box.
Thanks
LiAD