Tab.ColorIndex Property (Excel)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .ColorIndex

expression A variable that represents a Tab object.

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

  • xlColorIndexNone


Other resources