IXLSRange object have four discrete borders - left, right, top, and bottom - which can be returned individually or as a group. Use the Borders property to return the Borders collection, which contains all four borders and treats the borders as a unit. Use Borders[Index], where index identifies the border, to return a single border Properties
].Borders.LineStyle := xlDouble; — assign the per-edge border color to one of the 12 Office theme color slots with an optional tint. Honors every edge selector including the compound xlAround / xlInsideVertical / xlInsideHorizontal / xlInsideAll forms (since v2.61.0; compound selectors completed in v2.63.0)