Global.ActiveProtectedViewWindow Property (Word)

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


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

See also

Global Object