Class Rows (PowerPoint VBA)

A collection of Row objects that represent the rows in a table. To use a Rows class variable it first needs to be instantiated, for example


Dim rws as Rows
Set rws = ActiveWindow.RangeFromPoint.Table.Rows

Add

Returns a Row object that represents a row being added to a table.

Add (BeforeRow)

BeforeRow: The row before which the row is to be added.


Dim rw As Row
Set rw = ActiveWindow.RangeFromPoint.Table.Rows.Add()

Count

Returns the number of objects in the specified collection.


Dim lngCount As Long
lngCount = ActivePresentation.Slides(1).Shapes(2).Table.Rows.Count

Item

Returns a single Row object from the specified Rows collection.

Item (Index)

Index: The index number of the single Row object in the collection to be returned.


Dim rw As Row
Set rw = ActiveWindow.RangeFromPoint.Table.Rows(Index:=1)