Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1017 Bytes

Excel.Application.ActiveProtectedViewWindow.md

File metadata and controls

38 lines (22 loc) · 1017 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.ActiveProtectedViewWindow property (Excel)
vbaxl10.chm133331
vbaxl10.chm133331
Excel.Application.ActiveProtectedViewWindow
2202c3b4-8880-7a26-8a56-8f2d2e7b7343
04/04/2019
medium

Application.ActiveProtectedViewWindow property (Excel)

Returns a ProtectedViewWindow object that represents the active Protected View window (the window on top). Returns Nothing if there are no Protected View windows open. Read-only.

Syntax

expression.ActiveProtectedViewWindow

expression A variable that represents an Application object.

Example

The following code example displays the name (Caption property) of the active Protected View window.

MsgBox "The name of the active Protected View window is " & ActiveProtectedWindow.Caption

[!includeSupport and feedback]