Rows.Add Method
Word Developer Reference |
Returns a Row object that represents a row added to a table.
Syntax
expression.Add(BeforeRow)
expression Required. A variable that represents a Rows collection.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
BeforeRow | Optional | Variant | A Row object that represents the row that will appear immediately below the new row. |
Return Value
Row
Example
This example inserts a new row before the first row in the selection.
Visual Basic for Applications |
---|
|
This example adds a row to the first table and then inserts the text Cell into this row.
Visual Basic for Applications |
---|
|
See Also