Skip to content

Latest commit

 

History

History
79 lines (43 loc) · 1.74 KB

PowerPoint.ConnectorFormat.EndConnected.md

File metadata and controls

79 lines (43 loc) · 1.74 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ConnectorFormat.EndConnected property (PowerPoint)
vbapp10.chm555009
vbapp10.chm555009
PowerPoint.ConnectorFormat.EndConnected
b5e4b8cb-a69c-7330-5dae-0fa4b7a36c82
06/08/2017
medium

ConnectorFormat.EndConnected property (PowerPoint)

Determines whether the end of the specified connector is connected to a shape. Read-only.

Syntax

expression. EndConnected

expression A variable that represents an ConnectorFormat object.

Return value

MsoTriState

Remarks

The value of the EndConnected property can be one of these MsoTriState constants.

Constant Description
msoFalse The end of the specified connector is not connected to a shape.
msoTrue The end of the specified connector is connected to a shape.

Example

If the end of the connector represented by shape three on the first slide in the active presentation is connected to a shape, this example stores the connection site number in the variable oldEndConnSite, stores a reference to the connected shape in the object variable oldEndConnShape, and then disconnects the end of the connector from the shape.

Set myDocument = ActivePresentation.Slides(1)

With myDocument.Shapes(3)

    If .Connector Then

        With .ConnectorFormat

            If .EndConnected Then

                oldEndConnSite = .EndConnectionSite

                Set oldEndConnShape = .EndConnectedShape

                .EndDisconnect

            End If

        End With

    End If

End With

See also

ConnectorFormat Object

[!includeSupport and feedback]