Inserts a column in the worksheet to the left of the specified column, copying the style based on the copyBehavior parameter.

 public void InsertColumn(int columnNumber, ColumnInsertBehavior columnCellsCopyBehavior, ColumnInsertBehavior columnCopyBehavior)
Public Sub InsertColumn(ByVal columnNumber As Integer, ByVal columnCellsCopyBehavior As ColumnInsertBehavior, ByVal columnCopyBehavior As ColumnInsertBehavior)

The 0-based number of the column to insert.

The Style.ColumnInsertBehavior that defines the source style for each cell in the new column. Each cell in the new column will be given the style of its neighbor identified in this parameter.

The Style.ColumnInsertBehavior that defines how the default column style will be set for the new column. This style is cells before the 'columnCellsCopyBehavior', so the 'columnCellsCopyBehavior' can be used to override the column-wide style.

ws.InsertColumn(3, Style.InsertBehavior.CopyFromLeft);
ws.InsertColumn(3, Style.InsertBehavior.CopyFromLeft)