Skip to main content
.NET Framework 4.5.2+
Row

ColumnCollection.Insert Method

Name Parameters Description
Insert(Int32, Int32, ColumnFormatMode) index, count, formatMode Inserts multiple columns and specifies how to format these columns.
Insert(Int32, Int32) index, count Inserts multiple columns into the worksheet.
Insert(Int32) index Inserts a new column into the worksheet at the specified position.
Insert(String, Int32, ColumnFormatMode) columnHeading, count, formatMode Inserts multiple columns and specifies how to format these columns.
Insert(String, Int32) columnHeading, count Inserts multiple columns into the worksheet.
Insert(String) columnHeading Inserts a column with the specified heading into the worksheet.