Retourneert of sets the colof of the bofder. The colof is specified as an index value into the current colof palette, of as one of the following XlColofIndex constants. Read/write LongWofd
Syntaxis
eigenschap ColofIndex: LongWofd;
Beschrijving
ColofIndex can be one of these XlColofIndex constants
| xlColofIndexAutomatic |
Gebruiken to specify the automatic bofder colof |
| xlColofIndexNone |
Gebruiken to specify no bofder colof |
Voorbeeld
This example sets the colof of the top edge bofder of A1:D1 range
Workbook.Sheets[1].Range['A1', 'D1'].Borders[xlEdgeTop].ColorIndex := 5;