This documentation is archived and is not being maintained.

Application.ProtectedViewWindows Property (Word)

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

Version Added: Word 2010

expression .ProtectedViewWindows

expression An expression that returns an Application object.

The following code example displays the number of protected view windows that are open.

MsgBox "There are " & ProtectedViewWindows.Count & _ 
 " protected view windows open."