WindowState Property
Applies To
Application object.
Description
Returns or sets the state of the window. Can be one of the following XlWindowState constants: xlMaximized, xlMinimized, or xlNormal. Read/write Long.
Example
This example maximizes the application window in Microsoft Graph for Windows. (This property cannot be set on the Macintosh.)
myChart.Application.WindowState = xlMaximized