Gets the number of rows in the cell range.
An integer that specifies the number of rows.
To obtain the number of columns in the cell range, use the CellRange.ColumnCount property.
If the current cell range is a complex (union) range, the RowCount property returns the number of rows in the rectangular cell range that covers all areas of the union range. For example, the RowCount value for the union range B3:C4, D6:E7 shown in the image below is 5.