Restituisce a
IXLSBorder object that represents one of the
borders of a range of cells
Sintassi
proprietà Item[Index: LongWord]:
IXLSBorder;
default;
Descrizione
XlBordersIndex can be one of these XlBordersIndex constants
| xlEdgeBottom |
| xlEdgeLeft |
| xlEdgeRight |
| xlEdgeTop |
| xlAround |
| xlInsideHorizontal |
| xlInsideVertical |
| xlInsideAll |
| xlDiagonalDown |
| xlDiagonalUp |
Esempio
This following example sets the color of the bottom border of cells A1:G1
Workbook.Worksheets[1].Range['A1', 'G1'].Borders.Item[xlEdgeBottom].Color := RGB(255, 0, 0);
This example is the same to previous