Item Property (Borders Collection)

         Example         Applies To

Returns a Border object that represents one of the borders of either a range of cells or a style. Read-only.

Syntax

expression.Item(Index)

expression   Required. An expression that returns a Borders collection.

Index   Required Long. The border to return. Can be one of the following XlBordersIndex constants: xlInsideHorizontal, xlInsideVertical, xlDiagonalDown, xlDiagonalUp, xlEdgeBottom, xlEdgeLeft, xlEdgeRight, or xlEdgeTop.