SmartArtLayouts Object (Office)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents a collection of Smart Art layout diagrams.

Choices include Basic Block List, Picture Caption List, Vertical Bulleted List, etc.

The following code changes the diagram style of a Smart Art diagram in Microsoft PowerPoint.

ActivePresentation.Slides(1).Shapes(1).SmartArt.Layout = Application.SmartArtLayouts(1)