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; row height |
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: WksDocument object