Edit

Share via


ProtectedViewWindow.Activate method (Word)

Activates the specified Protected View window.

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

ProtectedViewWindow Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.