_Application.IsSandboxed Property

Gets whether the specified workbook is open in a Protected View window.

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

Syntax

'Declaration
ReadOnly Property IsSandboxed As Boolean
    Get
'Usage
Dim instance As _Application
Dim value As Boolean

value = instance.IsSandboxed
bool IsSandboxed { get; }

Property Value

Type: System.Boolean
true if the specified workbook is open in a Protected View window; otherwise, false.

Remarks

Read-only

Use the IsSandboxed property to determine if a workbook is open in a Protected View window.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace