Table of contents
TOC
Collapse the table of content
Expand the table of content

Cell.Borders Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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 Cell 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

Cell Object

© 2018 Microsoft