Connect Object (Visio)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents a connection between two shapes in a drawing, such as a line and a box in an organization chart.

Retrieve a Connect object from the Connects collection returned by the Connects and FromConnects properties of a Shape object, or the Connects collection of a Page or Master object.

The default property of a Connect object is FromSheet.

Use the GlueTo or GlueToPos method of a Cell object to connect one shape to another in a drawing.