Height property (Excel Graph)
The height of the main application window or the object. 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. Read/write Double for all objects, except for the Chart object, which is read/write Variant.
expression.Height
expression Required. An expression that returns one of the above objects.
This example sets the height of the chart legend to 1 inch (72 points).
myChart.Legend.Height = 72
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.