Application.IsSandboxed property (Word)
True if the application window is a Protected View window. Read-only.
Syntax
expression. IsSandboxed
expression An expression that returns a Application object.
Remarks
Use the IsSandboxed property to determine if a document is open within a Protected View window.
Example
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
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk