Application.ActiveProtectedViewWindow property (Word)
Returns a ProtectedViewWindow object that represents the active Protected View window. Read-only.
expression. ActiveProtectedViewWindow
expression An expression that returns a Application object.
The following code example displays the caption text for the active Protected View window.
MsgBox ActiveProtectedViewWindow.Caption
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.