Name

shapes.AddCallout(Type, Left, Top, Width, Height)

Synopsis

Draws a simple callout and returns the callout’s Shape object.

Argument

Settings

Type

An msoCalloutType constant indicating the type of callout to draw. Can be msoCalloutOne, msoCalloutTwo, msoCalloutMixed, msoCalloutThree, or msoCalloutFour.

Left

The horizontal position of the shape in points.

Top

The vertical position of the shape in points.

Width

The width of the shape in points.

Height

The height of the shape in points.

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.