Hi all. This is a very easy question, and I've done this before, but I can't remember the exact coding and I'm somehow having trouble finding an example.
How do you get the number of populated rows in a given column? I know it's something like this:
But I can't remember the exact coding. Thanks for the help!
Hank
How do you get the number of populated rows in a given column? I know it's something like this:
Code:
Private Sub FindRows()
Dim RomNum As Long
RowNum = ActiveSheet.xlEndtoUp
MsgBox(RowNum)
End Sub
But I can't remember the exact coding. Thanks for the help!
Hank