This example adds two callouts to myDocument
. If you drag the text box for each of these callouts to the left of the callout line origin, the place on the text box where the callout line attaches will change for the automatically attached callout.
Set myDocument = ActiveDocument
With myDocument.Shapes
With .AddCallout(msoCalloutTwo, 100, 170, 200, 50)
.TextFrame.TextRange.Text = "auto-attached"
.Callout.AutoAttach = True
End With
With .AddCallout(msoCalloutTwo, 100, 350, 200, 50)
.TextFrame.TextRange.Text = "not auto-attached"
.Callout.AutoAttach = False
End With
End With