I have a worksheet with billing information.
Column A (A6 and down) marks whether an invoice has been entered (= 1) or not (=-1). There are also codes "-2" and "0" (zero)
From the beginning there are 2000 rows of "-1" in this column. This is safely over the maximum number of invoices in a single project.
The problem is, I want to print Columns A through P, but only Rows 1 through to the last sent invoice, is the last row that does not contain "-1" in column A. If not, it will print page upon page of -1's with no information in the rest of the rows.
What I (think I) need to do is to
1) Find the last cell with not "-1" in column A. Name this "lastCell"
2) Mark Columns A through P, And rows 1 through lastCell
3) Print selection
Any suggestions?
Column A (A6 and down) marks whether an invoice has been entered (= 1) or not (=-1). There are also codes "-2" and "0" (zero)
From the beginning there are 2000 rows of "-1" in this column. This is safely over the maximum number of invoices in a single project.
The problem is, I want to print Columns A through P, but only Rows 1 through to the last sent invoice, is the last row that does not contain "-1" in column A. If not, it will print page upon page of -1's with no information in the rest of the rows.
What I (think I) need to do is to
1) Find the last cell with not "-1" in column A. Name this "lastCell"
2) Mark Columns A through P, And rows 1 through lastCell
3) Print selection
Any suggestions?