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.3+98f265239ae8df4639650ecd7029244cc5e52dfc
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