Height Property [Application, AutoExcelWin, AutoWindow]

The Height property returns or sets the height of the window in pixels. Returns a Long.

Syntax

object.Height

object.Height = Height

 

Parameter Type Description
Height Long required, height in pixels

 

Example 1

This example demonstrates how to return the height of the Grapher application window in pixels.

Debug.Print GrapherApp.Height

 

Example 2

This example demonstrates how to set the height of the Grapher application window to 500 pixels.

GrapherApp.Height = 500

 

Used by: Application object, AutoWindow object