Table.Rows property (PowerPoint)

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

Table Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.