Share via


Tab.ThemeColor Property

Returns or sets the theme color in the applied color scheme that is associated with the specified object. Read/write.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property ThemeColor As XlThemeColor
    Get
    Set
'Usage
Dim instance As Tab
Dim value As XlThemeColor

value = instance.ThemeColor

instance.ThemeColor = value
XlThemeColor ThemeColor { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlThemeColor
XlThemeColor

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.

See Also

Reference

Tab Interface

Tab Members

Microsoft.Office.Interop.Excel Namespace