Table of contents
Collapse the table of content
Expand the table of content

Rectangle.BackThemeColorIndex Property (Access)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Gets or sets a value that represents a color in the applied color theme associated with the BackColor property of the specified object. Read/write Long.


expression. BackThemeColorIndex

expression A variable that represents a Rectangle object.


The BackThemeColorIndex property contains one of the index values listed in the following table.

Index ValueDescription
0Text 1
1Background 1
2Text 2
3Background 2
4Accent 1
5Accent 2
6Accent 3
7Accent 4
8Accent 5
9Accent 6
11Followed Hyperlink

If no theme is applied, the BackThemeColorIndex property contains -1.

This property is not surfaced in the property sheet.


The following code example sets the Background Color to the Text 2 color by setting the BackThemeColorIndex property.


See also


Rectangle Object

© 2018 Microsoft