Renvoie or sets the color of the
borders. La couleur est spécifiée comme valeur d'index dans la palette de couleurs courante, ou comme l'une des constantes XlColorIndex. Lecture/écriture LongWord
Syntaxe
property ColorIndex: LongWord;
Description
ColorIndex can be one of these XlColorIndex constants
| xlColorIndexAutomatic |
Use to specify the automatic border color |
| xlColorIndexNone |
Use to specify no border color |
Exemple
This example sets the color of the borders of A1:D1 range
Workbook.Sheets[1].Range['A1', 'D1'].Borders.ColorIndex := 5;