RowHeight Property

The RowHeight property returns or sets the row height of all the rows in the range. A 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

Double

required; row height

 

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 12.

 

WksRange.RowHeight = 12

 

Used by: WksRange object