Restituisce o sets the color of the
borders. The color is specified as an index value into the current color palette, o as one of the XlColorIndex constants. Read/write LongWord
Sintassi
proprietà ColorIndex: LongWord;
Descrizione
ColorIndex can be one of these XlColorIndex constants
| xlColorIndexAutomatic |
Usa to specify the automatic border color |
| xlColorIndexNone |
Usa to specify no border color |
Esempio
This example sets the color of the borders of A1:D1 range
Workbook.Sheets[1].Range['A1', 'D1'].Borders.ColorIndex := 5;