I saw and tried different methods to find number of row or column, for First and Last non-blank (non-empty) cell in a row or column, and First blank cell in a row or column.
Codes that include .End(xlUp) or similar to it, for the case that for example, A3:A10 is a defined table, but A3 is empty from the top and A10 is empty from the bottom, it does not answer and does not check cells A3 and A10.
I also found the following function:
and use that in my code asPlease Login or Register to view this content.
which gives:iRow4 = vba_last_row(ThisWorkbook.Sheets("DATA"), "O")
What's the solution?Please Login or Register to view this content.
Bookmarks