ya know, in the various code snipets I've given you in the last couple of days, I've got finding the last populated cell in a column in there several times.
here it is, again:
Which is literally saying:
"Activesheet" - On the Activesheet
".Cells(rows.count, 1)" - count the number of rows in col 1 (A) to the end of the worksheet.
".end(xlup)" - from the bottom row work back UP to the last cell that isn't blank.
".row" - Return that row number.
there are other ways to do this, but I've always found this one the easiest.
Bookmarks