Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns True if the specified workbook is open in a Protected View window. Read-only
Version Information
Version Added: Excel 2010
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