Export (0) Print
Expand All
Expand Minimize

Shape.SmartArt Property (Word)

Returns a SmartArt object that provides a way to work with the SmartArt associated with the specified shape. Read-only.

Version Added: Word 2010

expression .SmartArt

expression A variable that represents a Shape object.

The SmartArt property provides an entry point for interacting with a SmartArt graphic associated with the shape.

The following code example adds a SmartArt graphic to the active document.

Dim myShape As Shape 
Dim mySmartArt As SmartArt 
 
Set myShape = ActiveDocument.Shapes.AddSmartArt(Application.SmartArtLayouts(1), 100, 100, 400, 400) 
Set mySmartArt = myShape.SmartArt

Community Additions

ADD
Show:
© 2014 Microsoft