Application.ActiveProtectedViewWindow Property (Word)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns a ProtectedViewWindow object that represents the active protected view window. Read-only.

expression .ActiveProtectedViewWindow

expression An expression that returns a Application object.

The following code example displays the caption text for the active protected view window.

MsgBox ActiveProtectedViewWindow.Caption