Expand Minimize

Selection.InsertRowsAbove Method (Word)

Inserts rows above the current selection.

expression .InsertRowsAbove

expression Required. A variable that represents a Selection object.

Microsoft Word inserts as many rows as there are in the current selection.

To use this method, the current selection must be in a table.

This example selects the second row in the first table and inserts a new row above it.

ActiveDocument.Tables(1).Rows(2).Select 
Selection.InsertRowsAbove
Show:
© 2014 Microsoft