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)

Syntax

'Declaration
Sub InsertRowsAbove ( _
    ByRef NumRows As Object _
)
'Usage
Dim instance As Selection
Dim NumRows As Object

instance.InsertRowsAbove(NumRows)
void InsertRowsAbove(
    ref Object NumRows
)

Parameters

  • NumRows
    Type: System.Object%
    Optional Object. The number of rows to be added.

Remarks

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.

See Also

Reference

Selection Interface

Selection Members

Microsoft.Office.Interop.Word Namespace