Share via


Interior.ThemeColor Property

Gets or sets the theme color in the applied color scheme that is associated with the specified object.

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

Syntax

'Declaration
Property ThemeColor As Object
    Get
    Set
'Usage
Dim instance As Interior
Dim value As Object

value = instance.ThemeColor

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

Property Value

Type: System.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.

See Also

Reference

Interior Interface

Interior Members

Microsoft.Office.Interop.Excel Namespace