Selection.InsertRows(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts the specified number of new rows above the row that contains the selection.
public void InsertRows (ref object NumRows);
abstract member InsertRows : obj -> unit
Public Sub InsertRows (Optional ByRef NumRows As Object)
Parameters
- NumRows
- 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(Object) method of the Rows object.