Shapes.AddSmartArt (Excel)

Creates a new SmartArt graphic with the specified layout.

AddSmartArt (Layout, Left, Top, Width, Height)


Dim shpAddSmartArt As Shape
Set shpAddSmartArt = ActiveChart.Shapes.AddSmartArt(Layout:=)

Arguments

The following argument is required

Layout (Office.SmartArtLayout) - An object that represents the layout to use.

Optional arguments

The following arguments are optional

Left (Points) - The distance, in points, from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).

Top - The distance, in points, from the top edge of the object to the top edge of the worksheet

Width (Long) - The width, in points, of the object.

Height (Long) - The height, in points, of the object.