This documentation is archived and is not being maintained.

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

Public Class ordersImplementation
	Implements Borders
End Class
Dim ordersImplementation1 As New ordersImplementation()

public interface Borders
public interface Borders
public interface Borders

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.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms