E
ejack
I am trying to determine a previous row number in a chart like this --
..
..
..
xxx xxx data xxx xxx xxx xxx xxx xxx
xxx xxx xxx xxx
..
..
..
xxx xxx data xxx xxx xxx xxx xxx xxx
xxx xxx xxx xxx
Jacob Skaria said:If I understand you correctly; the data row will always be filled (especially
ColA,ColB,ColC) and for the current row these columns will not be filled.
In that case; the below code should give you the previous data row. Try and
feedback
Dim lngDataRow as Long
lngDataRow = Cells(Activecell.row, "C").End(xlUp).Row
If this post helps click Yes