Partager via


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

Concepts

Table Object

Table Object Members