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.7+064d9a8047d8da6ad83b4776af2459e923cc7c3d
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