Returns or sets the theme color in the applied color scheme that is associated with the specified object. Read/write Variant.
Syntax
expression.ThemeColor
expression A variable that represents a Borders object.
Remarks
Attempting to access a theme color for an object whose color is not currently themed will result in an invalid request run-time error.
Examples
The following example sets the borders color of the range B2:E5 to 9 (theme color, blue).
ActiveSheet.Range("B2:E5").Borders.ThemeColor = 9