The LastRow property returns the last row in the range. Returns a long. This is a read-only property.
Syntax
object.LastRow
Example
This example demonstrates how to return the last row of a range.
Debug.Print WksRange. LastRow
Used by: WksRange object