Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

Borders interface

A collection of four Border objects that represent the four borders of a Range or Style object.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
[InterfaceTypeAttribute()]
[GuidAttribute("00020855-0000-0000-C000-000000000046")]
public interface Borders : IEnumerable

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.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.