Borders Property

Microsoft PowerPoint Visual Basic

Returns a Borders collection that represents the borders and diagonal lines for the specified Cell object or CellRange collection. Read-only.

For information about returning a single member of a collection, see Returning an Object from a Collection.

Example

This example sets the thickness of the left border for the first cell in the second row of the selected table to three points.

ActiveWindow.Selection.ShapeRange.Table.Rows(2) _
    .Cells(1).Borders.Item(ppBorderLeft).Weight = 3