Specifies whether the specified object has focus.
Syntax
object.Active [= Boolean]
Properties
The Active property syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
Boolean |
Whether the document has focus. |
Settings
The settings for Boolean are:
Value |
Description |
True |
The document is active. |
False |
The document is not active. |
Remarks
Call this property to force the selection of a document through scripting. Also, if you open a document as hidden, setting the document's active state to True makes the document visible.