ProtectedViewWindow.Close method (Word)

Closes the specified Protected View window.

Syntax

expression.Close

expression An expression that returns a ProtectedViewWindow object.

Return value

Nothing

Example

The following code example closes the active Protected View window.

ActiveProtectedViewWindow.Close

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.