positioning handle on callout shape

C

Claude

Hi. What is the code for positioning the "handle" on a callout textbox? The
callout was created with "AddShape(msoShapeRectangularCallout)".
Thanks for any suggestions.
 
C

ciw2otv

Claude said:
Hi. What is the code for positioning the "handle" on a callout textbox? The
callout was created with "AddShape(msoShapeRectangularCallout)".
Thanks for any suggestions.

The adjustments on the items are represented in the code below. There
are two items per handle.

Public Sub makeAutoShape()
With ActivePresentation.Slides(1)
.Shapes.AddShape(msoShapeRectangularCallout, 0, 0, 50, 50).Name =
"HelloCallout"
With .Shapes("HelloCallout")
.Adjustments.Item(1) = 2
.Adjustments.Item(2) = 0.5
End With
End With
End Sub

Hope this helps.
 
C

Claude

Thanks! I tried something similar with one one "adjustement", but it didn't
work (don't get any errror messages either)
 
C

Claude

I'm able now to move the handles around by playing around with the adjustment
factor. But how can I make this handle point to a specific (dynamic) point on
the slide? I'm trying to get a popup to appear from an action button, with
the point of the handle pointing back to the action button.

I'm using powerpoint 2002 SP3, but I really get the impression the VBA
capabilities date from the stone age (compared to excel)!
 
Top