ProtectedViewWindows object (Word)
A collection of all the ProtectedViewWindow objects that are currently open in Word.
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
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.