Partager via


CellRange.Borders Property (PowerPoint)

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

Syntax

expression .Borders

expression A variable that represents a CellRange object.

Return Value

Borders

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

See Also

Concepts

CellRange Object

CellRange Object Members