ProtectedViewWindows Object (Word)

A collection of all the ProtectedViewWindow objects that are currently open in Word 2010.

Version Information

Version Added: Word 2010

Remarks

Use the ProtectedViewWindows property to return the ProtectedViewWindows collection.

Example

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

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

See Also

Concepts

Word Object Model Reference

ProtectedViewWindows Object Members