Here is my code:
Sub CommandButton1_Click()
RowCount = Worksheets("Down Tracker").Cells(Rows.Count, 9).End(xlUp).Rows
MsgBox (RowCount)
End Sub
The command button is in a worksheet called Sheet1 and it is pulling from a worksheet called Down Tracker. It is determining the last row of column I. Column I contains four digit codes in the format of either NLNN or LLNN (L = letter, N = number).
For some reason, this subroutine goes to the end cell and returns the value in the cell instead of returning the count.
I'm a VBA newbie. Any help would be appreciated