XlProtectedViewCloseReason enumeration

Office 2013 and later

Specifies how the Protected View window was closed.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

No code example is currently available or this language may not be supported.

Member nameDescription
xlProtectedViewCloseNormalThe window was closed normally.
xlProtectedViewCloseEditThe window was closed when the user clicked the Enable Editing button.
xlProtectedViewCloseForcedThe window was closed because the application shut it down forcefully or stopped responding.
Show: