Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 886 Bytes

Excel.ProtectedViewWindow.WindowState.md

File metadata and controls

42 lines (24 loc) · 886 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ProtectedViewWindow.WindowState property (Excel)
vbaxl10.chm914083
vbaxl10.chm914083
Excel.ProtectedViewWindow.WindowState
9fd61fb6-1804-7eba-d1e3-a42b8500a52e
05/09/2019
medium

ProtectedViewWindow.WindowState property (Excel)

Returns or sets the state of the specified Protected View window. Read/write.

Syntax

expression.WindowState

expression A variable that represents a ProtectedViewWindow object.

Return value

XlProtectedViewWindowState

Example

The following code example maximizes the active Protected View window.

ActiveProtectedViewWindow.WindowState = xlProtectedViewWindowMaximized 

[!includeSupport and feedback]