Share via


Tab.ColorIndex Property

Excel Developer Reference

Returns or sets a Variant value that represents the color of the specified worksheet or chart tab.

Syntax

expression.ColorIndex

expression   A variable that represents a Tab object.

Remarks

The color is specified as an index value into the current color palette, or as one of the following XlColorIndex constants:

  • xlColorIndexNone

See Also