ProtectedViewWindows.Count Property (Word)
Returns a Long that represents the number of protected view windows in the collection. Read-only.
Version Information
Version Added: Word 2010
Syntax
expression .Count
expression An expression that returns a ProtectedViewWindows object.
Example
The following code example displays the number of protected view windows that are currently open.
MsgBox ProtectedViewWindows.Count