XlProtectedViewCloseReason Enumeration

Specifies how the Protected View window was closed.

Version Information

Version Added: Excel 2010

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.