Hi. What is the code for positioning the "handle" on a callout textbox? The
callout was created with "AddShape(msoShapeRectangularCallout)".
Thanks for any suggestions.
> 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.
Claude - 21 Aug 2006 15:34 GMT
Thanks! I tried something similar with one one "adjustement", but it didn't
work (don't get any errror messages either)
"ciw2otv@aol.com" schrieb:
> > Hi. What is the code for positioning the "handle" on a callout textbox? The
> > callout was created with "AddShape(msoShapeRectangularCallout)".
[quoted text clipped - 15 lines]
>
> Hope this helps.
Claude - 21 Aug 2006 16:11 GMT
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)!
"ciw2otv@aol.com" schrieb:
> > Hi. What is the code for positioning the "handle" on a callout textbox? The
> > callout was created with "AddShape(msoShapeRectangularCallout)".
[quoted text clipped - 15 lines]
>
> Hope this helps.