次の方法で共有


ProtectedViewWindow.Activate Method (Word)

Activates the specified protected view window.

Version Information

Version Added: Word 2010

Syntax

expression .Activate

expression An expression that returns a ProtectedViewWindow Object object.

Return Value

Nothing

Example

The following code example activates the next protected view window in the ProtectedViewWindows collection.

Dim pvWindow As ProtectedViewWindow 
 
' At least one document must be open in protected view for this statement to execute. 
ProtectedViewWindows(1).Activate

See Also

Concepts

ProtectedViewWindow Object Members

ProtectedViewWindow Object