共用方式為


Interior.ColorIndex Property (Excel)

Returns or sets a Variant value that represents the color of the interior.

Syntax

expression .ColorIndex

expression A variable that represents an Interior object.

Remarks

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

  • xlColorIndexAutomatic

  • xlColorIndexNone

請參閱

概念

Interior Object

Interior Object Members