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

Table.Rows Property (PowerPoint)

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

Returns a Rows collection that represents all the rows in a table. Read-only.

Syntax

expression. Rows

expression A variable that represents a Table object.

Return Value

Rows

Remarks

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

Example

This example deletes the third row from the table in shape five of slide two in the active presentation.

ActivePresentation.Slides(2).Shapes(5).Table.Rows(3).Delete

This example applies a dashed line style to the bottom border of the second row of table cells.

ActiveWindow.Selection.ShapeRange.Table.Rows(2) _
    .Cells.Borders(ppBorderBottom).DashStyle = msoLineDash

See also

Concepts

Table Object

© 2018 Microsoft