Selection.InsertRowsAbove method

Inserts rows above the current selection.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

void InsertRowsAbove(
	ref Object NumRows
)

Parameters

NumRows
Type: System.Object

Optional Object. The number of rows to be added.

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

In order to use this method, the current selection must be in a table.

Show: