Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

Row Property [Excel 2003 VBA Language Reference]

Office 2003

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


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

Applies to | Range Collection

See Also | Column Property | EntireColumn Property | EntireRow Property | Rows Property

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.