ActivateObject

Syntax

ActivateObject

Remarks

Activates the selected embedded object for editing, or plays the sound or video file associated with the selected icon (for example, a sound file associated with the microphone icon). ActivateObject is equivalent to double-clicking the selected embedded object.

Example

This example moves the insertion point to the next Microsoft WordArt object and activates it for editing:


EditGoTo "o'MSWordArt.2'"
ActivateObject

See Also

EditGoTo, EditObject