_Application.WindowState Property

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

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property WindowState As XlWindowState
    Get
    Set
'Usage
Dim instance As _Application
Dim value As XlWindowState

value = instance.WindowState

instance.WindowState = value
XlWindowState WindowState { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlWindowState

Remarks

XlWindowState can be one of these XlWindowState constants:

xlMaximized

xlNormal

xlMinimized

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace