RowHeight Property

RowHeight 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

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