Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Inserts the specified number of new rows above the row that contains the selection.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub InsertRows ( _
ByRef NumRows As Object _
)
'Usage
Dim instance As Selection
Dim NumRows As Object
instance.InsertRows(NumRows)
void InsertRows(
ref Object NumRows
)
Parameters
- NumRows
Type: System.Object%
Optional Object. The number of rows to be added.
Remarks
If the selection isn't in a table, an error occurs.
You can also insert rows by using the Add method of the Rows object.