XlProtectedViewCloseReason Enumeration

Specifies how the Protected View window was closed.

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

Syntax

'Declaration
Public Enumeration XlProtectedViewCloseReason
'Usage
Dim instance As XlProtectedViewCloseReason
public enum XlProtectedViewCloseReason

Members

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.

See Also

Reference

Microsoft.Office.Interop.Excel Namespace