Skip to main content

ProtectedViewWindows object

Table of contents
  1. Remarks
  2. Example

A collection of the ProtectedViewWindow objects that represent all the Protected View windows that are currently open in the application.


Use the ProtectedViewWindows property of the Application object 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."

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>