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

OptionButton.BorderThemeColorIndex 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 BorderColor property of the specified object. Read/write Long.


expression. BorderThemeColorIndex

expression A variable that represents an OptionButton object.


The BorderThemeColorIndex 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 BorderThemeColorIndex property contains -1.

This property is not surfaced in the property sheet.


The following code example sets the Border Color to the Text 2 color by setting the BorderThemeColorIndex property.


See also


OptionButton Object

© 2018 Microsoft