Row Object
Word Developer Reference |
Represents a row in a table. The Row object is a member of the Rows collection. The Rows collection includes all the rows in the specified selection, range, or table.
Remarks
Use Rows(Index), where Index is the index number, to return a single Row object. The index number represents the position of the row in the selection, range, or table. The following example deletes the first row in the first table in the active document.
Visual Basic for Applications |
---|
|
Use the Add method to add a row to a table. The following example inserts a row before the first row in the selection.
Visual Basic for Applications |
---|
|
Use the Cells property to modify the individual cells in a Row object. The following example adds a table to the selection and then inserts numbers into each cell in the second row of the table.
Visual Basic for Applications |
---|
|
See Also