DefaultRowHeight Property

The DefaultRowHeight property returns or sets the default row height for the worksheet. Returns a Double.

Syntax

object.DefaultRowHeight

object.DefaultRowHeight = Height

 

Parameter Type Description
Height Double required, height value in points

 

Example 1

This example demonstrates how to return the default row height of a worksheet document.

Debug.Print Wks.DefaultRowHeight

Example 2

This example demonstrates how set the default row height of a worksheet document to ten points.

Wks.DefaultRowHeight = 10

 

Used by: Worksheet object