SmartArtColors Object (Office)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

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

A collection of SmartArt color styles.

Simulates the commands on the Microsoft Office Fluent Ribbon user interface on the SmartArt Tools, on the Design group, on the Change Colors command.

The following code sets the color scheme of the Smart Art diagram.

ActivePresentation.Slides(1).Shapes(1).SmartArt.Color = Application.SmartArtColors(1)
Show: