Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
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.