Borders interface
Office 2013 and later
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Use the Borders property of a Range or Style object to return the Borders collection, which contains all four borders.
Use Borders(index), where index identifies the border, to return a single Border object.
Index can be one of the following XlBordersIndex constants: xlDiagonalDown, xlDiagonalUp, xlEdgeBottom, xlEdgeLeft, xlEdgeRight, xlEdgeTop, xlInsideHorizontal, or xlInsideVertical.
Show: