title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Application.IsSandboxed property (Excel) |
vbaxl10.chm133332 |
|
|
d5a40aa3-470b-7861-691f-de418d13bd8b |
04/05/2019 |
medium |
Returns True if the specified workbook is open in a Protected View window. Read-only.
expression.IsSandboxed
expression A variable that represents an Application object.
Boolean
Use the IsSandboxed property to determine if a workbook is open in a Protected View window.
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]