Application.ProtectedViewWindows property (Word)

Returns a ProtectedViewWindows collection that represents all Protected View windows. Read-only.

Syntax

expression. ProtectedViewWindows

expression An expression that returns an Application object.

Example

The following code example displays the number of Protected View windows that are open.

MsgBox "There are " & ProtectedViewWindows.Count & _ 
 " Protected View windows open."

See also

Application 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.