Expand Minimize

Application.IsSandboxed Property (Word)

True if the application window is a protected view window. Read-only.

Version Added: Word 2010

expression .IsSandboxed

expression An expression that returns a Application object.

Use the IsSandboxed property to determine if a document is open within a protected view window.

The following code example displays whether the specified document is open in a protected view window.

Sub CheckIfSandboxed(doc As Document) 
 MsgBox doc.Application.IsSandboxed 
End Sub 

Show:
© 2015 Microsoft