This documentation is archived and is not being maintained.
XlProtectedViewCloseReason enumeration
Specifies how the Protected View window was closed.
Namespace:
Microsoft.Office.Interop.ExcelAssembly:
Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
No code example is currently available or this language may not be supported.
| Member name | Description |
|---|
| xlProtectedViewCloseNormal | The window was closed normally. |
| xlProtectedViewCloseEdit | The window was closed when the user clicked the Enable Editing button. |
| xlProtectedViewCloseForced | The window was closed because the application shut it down forcefully or stopped responding. |