Edit

Share via


WindowState property (Excel Graph)

Returns or sets the state of the window. Read/write XlWindowState.

Syntax

expression.WindowState

expression Required. An expression that returns one of the objects in the Applies To list.

Example

This example maximizes the Graph application window.

myChart.Application.WindowState = xlMaximized

Support and feedback

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.