TableInsertRow

Syntax

TableInsertRow [.NumRows = number]

Remarks

Inserts a row above the selected rows or above the row that contains the insertion point. If the insertion point or any part of the selection is not in a table, an error occurs. If the insertion point immediately follows a table, TableInsertRow inserts a row at the end of the table.

Argument

Explanation

.NumRows

The number of rows you want to add. If .NumRows is 0 (zero) or omitted, TableInsertRow inserts above the selection as many rows as are selected.


Examples

The following example adds a row to the end of a table:


TableSelectTable
CharRight
TableInsertRow

This example adds two new rows at the top of a table:


TableSelectTable
StartOfRow
TableInsertRow .NumRows = 2

See Also

TableInsertCells, TableInsertColumn