Shape.Connects Property (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

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

Returns a Connects collection for a shape, page, or master. Read-only.

expression .Connects

expression A variable that represents a Shape object.

Return Value

Connects

The Connects collection of a shape contains every Connect object for which the shape is returned by the FromSheet property. This tells you all the shapes to which the shape is connected.

To obtain a Connects collection that contains every Connect object for which the shape is the ToSheet property, use the shape's FromConnects property. This tells you all the shapes that are connected to this shape.

The Connects collection of a page contains a Connect object for every connection on the page.

The Connects collection of a master contains a Connect object for every connection in the master.

Show: