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.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
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