DoesPropertyHaveTargets Method Example

The following example determines if the VerticalFillPercentage property of the Oval object Oval1 has a target object connection, and if so, retains information about the target(s).

Dim bHasTargets As Boolean

Dim lNumOfTargets As Long

Dim lStatus As Long

Dim lIndex As Long

Oval1.DoesPropertyHaveTargets "VerticalFillPercentage", bHasTargets, lNumOfTargets, lStatus, lIndex