InsertRows Method

See Also         Example         Applies To

Inserts the specified number of new rows above the row that contains the selection. If the selection isn't in a table, an error occurs.

Note   You can also insert rows by using the Add method of the Rows object.

Syntax

expression.InsertRows(NumRows)

expression   Required. An expression that returns a Selection object.

NumRows   Optional Variant. The number of rows to be added.