Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 1.07 KB

Word.ProtectedViewWindow.md

File metadata and controls

44 lines (25 loc) · 1.07 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ProtectedViewWindow object (Word)
vbawd10.chm3536
vbawd10.chm3536
Word.ProtectedViewWindow
d77e80e7-c54e-5954-1586-dacd3c9f7434
06/08/2017
medium

ProtectedViewWindow object (Word)

Represents a Protected View window.

Remarks

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.

Example

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) 

See also

Word Object Model Reference

[!includeSupport and feedback]