Rows Property

Microsoft PowerPoint Visual Basic

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

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