Muokkaa

Jaa


SmartArtColor object (Office)

Chooses the color scheme for the SmartArt diagram.

Remarks

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

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.