Skip to main content

XlProtectedViewCloseReason enumeration

Specifies how the Protected View window was closed.

Name Value Description
xlProtectedViewCloseEdit 1 The window was closed when the user clicked the Enable Editing button.
xlProtectedViewCloseForced 2 The window was closed because the application shut it down forcefully or stopped responding.
xlProtectedViewCloseNormal 0 The window was closed normally.

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>