Row Property

Applies To

Range Object.

Description

Returns the number of the first row of the first area of the range. Read-only.

See Also

Column Property, EntireColumn Property, EntireRow Property, Rows Method.

Example

This example sets the row height of every other row on Sheet1 to 4 points.


For Each rw In Worksheets("Sheet1").Rows
    If rw.Row Mod 2 = 0 Then
        rw.RowHeight = 4
    End If
Next rw