Name

range.Rows([Index])

Synopsis

Returns a Range object that represents the row specified by Index in the specified range or all the rows in the range.

The following code selects the second row in the range:

Dim r As Range
 
Set r = ActiveSheet.Range("A1:A6")
r.Rows(2).Select

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.