ProtectedViewWindows Object (Word)

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

Version Added: Word 2010

Use the ProtectedViewWindows property to return the ProtectedViewWindows collection.

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

MsgBox "There are " & ProtectedViewWindows.Count & _ 
 " protected view windows currently open."
Show:
© 2014 Microsoft