Object type | Height | |
Application | The height of the main application window. On the Macintosh, this is always equal to the total height of the screen, in points. Setting this value to something else on the Macintosh will have no effect. In Windows, if the window is minimized, this property is read-only and refers to the height of the icon. If the window is maximized, this property cannot be set. Use the WindowState property to determine the window state. |
Axis, LegendEntry, LegendKey | The height of the object. Read-only. |
Range | The height of the range. Read-only. |
Window | The height of the window. Use the UsableHeight property to determine the maximum size for the window. You cannot set this property if the window is maximized or minimized. Use the WindowState property to determine the window state. |
ChartArea, ChartObject, Legend, OLEObject, PlotArea, Shape, ShapeRange | The height of the object. |
Worksheets("Sheet1").ChartObjects(1).Height = 288