Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 962 Bytes

Excel.Application.IsSandboxed.md

File metadata and controls

48 lines (28 loc) · 962 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.IsSandboxed property (Excel)
vbaxl10.chm133332
vbaxl10.chm133332
Excel.Application.IsSandboxed
d5a40aa3-470b-7861-691f-de418d13bd8b
04/05/2019
medium

Application.IsSandboxed property (Excel)

Returns True if the specified workbook is open in a Protected View window. Read-only.

Syntax

expression.IsSandboxed

expression A variable that represents an Application object.

Return value

Boolean

Remarks

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

Example

The following code example displays whether the specified workbook is open in a Protected View window.

Sub CheckIfSandboxed(wbk As Workbook) 
 MsgBox wbk.Application.IsSandboxed 
End Sub

[!includeSupport and feedback]