ProtectedViewWindow object (Word)
Represents a Protected View window.
Documents displayed in a Protected View window cannot be edited and are restricted from running active content such as Visual Basic for Applications macros and Data Connections.
Use ProtectedViewWindows (index), where index is the index number to return a single ProtectedViewWindow object.
The index number represents the position of the Protected View window in the ProtectedViewWindows collection.. The following code example returns the first Protected View window.
Dim pvWindow As ProtectedViewWindow Set pvWindow = ProtectedViewWindows(1)
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.