Application.ActiveProtectedViewWindow property (Word)

Returns a ProtectedViewWindow object that represents the active Protected View window. Read-only.

Syntax

expression. ActiveProtectedViewWindow

expression An expression that returns a Application object.

Example

The following code example displays the caption text for the active Protected View window.

MsgBox ActiveProtectedViewWindow.Caption 

See also

Application Object

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.