This documentation is archived and is not being maintained.

Global.ActiveProtectedViewWindow Property (Word)

Returns a ProtectedViewWindow object that represents the active protected view window (the protected view window with the focus). Read-only.

Version Added: Word 2010

expression .ActiveProtectedViewWindow

expression An expression that returns a Global object.

If there are no windows open, using this property causes an error.

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

Sub WindowCaption() 
 MsgBox ActiveProtectedViewWindow.Caption 
End Sub