RowHeight Property

The RowHeight property returns or sets the row height of all the rows in the range. NULL is returned if all the row heights are not the same. Returns a Variant.

Syntax

object.RowHeight

object.RowHeight = Height

 

Parameter Type Description
Height Variant required, row height in points

 

Example 1

This example demonstrates how to return the row height of a range.

Debug.Print WksRange.RowHeight

Example 2

This example demonstrates how to set the row height of a range to twelve points.

WksRange.RowHeight = 12

 

Used by: WksRange object