Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

RowCollection.Insert Method

Name Parameters Description
Insert(Int32, Int32, RowFormatMode) index, count, formatMode Inserts multiple rows and specifies how to format these rows.
Insert(Int32, Int32) index, count Inserts multiple rows into the worksheet.
Insert(Int32) index Inserts a new row into the worksheet at the specified position.