HotXLS Docs

Interior property

Returns an IXLSInterior object that represents the interior of the specified range.

Syntax

property Interior: IXLSInterior;

Example

This example sets the interior color for cells A1:F1 on sheet one to cyan.

Workbook.Worksheets[1].Range['A1', 'F1'].Interior.ColorIndex := 8; //Cyan