Click or drag to resize
NanoXLSX

WorksheetInsertColumn Method

Inserts 'count' columns right of the specified 'columnNumber'. Existing cells are moved to the right by the number of new columns. The inserted, new columns inherits the style of the original cell at the defined column number. The inserted cells are empty. The values can be set later

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
Syntax
C#
public void InsertColumn(
	int columnNumber,
	int numberOfNewColumns
)

Parameters

columnNumber  Int32
Column number right which the new column(s) will be inserted.
numberOfNewColumns  Int32
Number of columns to insert.
Remarks
Formulas are not adjusted
See Also