VBA to obtain Max Rows in any column in Used Reange
By golly he hits a home run! Thanks!
"Dana DeLouis" wrote:
Is there not a way to obtain the Max Rows in any column?
One idea...
Sub LastRow()
Dim LastRow As Long
LastRow = Cells.Find( _
What:="*", _
SearchOrder:=xlByRows, _
SearchDirection:=xlPrevious, _
MatchCase:=False).Row
End Sub
|