HotXLS Docs

Color property

Returns or sets the color of the borders. Use the RGB function to create a color value. Read/write LongWord.

Syntax

property Color: LongWord;

Example

This example sets the color of the borders of A1:D1 range.

Workbook.Sheets[1].Range['A1', 'D1'].Borders.Color := RGB(0, 255, 0);