Application.ProtectedViewWindows Property (Word)

Returns a ProtectedViewWindows collection that represents all protected view windows. Read-only.

Version Information

Version Added: Word 2010

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

Concepts

Application Object

Application Object Members