Activate method

Microsoft Visio Developer Reference

Activate method

       

Activates a window.

Version added

2.0

Syntax

object.Activate

object

Required. An expression that returns a Window object.

Remarks

Visio can have more than one window open at a time; however, only one window is active. Activating a window can change the objects returned by the ActiveWindow, ActivePage, and ActiveDocument properties.