title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
ProtectedViewWindow object (Word) |
vbawd10.chm3536 |
|
|
d77e80e7-c54e-5954-1586-dacd3c9f7434 |
06/08/2017 |
medium |
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)
[!includeSupport and feedback]