次の方法で共有


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 Information

Version Added: Word 2010

Syntax

expression .ActiveProtectedViewWindow

expression An expression that returns a Global object.

Remarks

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

Example

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

Sub WindowCaption() 
 MsgBox ActiveProtectedViewWindow.Caption 
End Sub

See Also

Concepts

Global Object

Global Object Members