次の方法で共有


ProtectedViewWindow.Active Property (Word)

True if the specified protected view window is active. Read-only Boolean.

Version Information

Version Added: Word 2010

Syntax

expression .Active

expression An expression that returns a ProtectedViewWindow object.

Example

The following code example activates the first protected view window in the ProtectedViewWindows collection if the window is not currently active.

ProtectedViewWindows.Open FileName:="C:\MyFiles\MyDoc.doc" 

See Also

Concepts

ProtectedViewWindow Object Members

ProtectedViewWindow Object