SmartArt.Color property (Office)

Retrieves or sets the SmartArt color style applied to the SmartArt graphic. Read/write.

Syntax

expression.Color

expression An expression that returns a SmartArt object.

Example

The following code sets the color scheme of the SmartArt diagram.

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

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.