ThemeColor 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 color in the color scheme of a Microsoft Office theme.

The following example sets a ThemeColor object to the msoThemeAccent1 constant.

Dim tcsThemeColorScheme As ThemeColorScheme 
Dim tcThemeColor As ThemeColor 
Set tcThemeColor = tcsThemeColorScheme.Colors(msoThemeAccent1)