Table.Rows property (PowerPoint)

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



expression A variable that represents a Table object.

Return value



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


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


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.