Deletes a number of columns and its contents from the worksheet. Columns after the deleted columns will be moved to the left.

 public void DeleteColumns(int columnNumber, int columnCount)
Public Sub DeleteColumns(ByVal columnNumber As Integer, ByVal columnCount As Integer)

The 0-based number of the column to remove.

The number of columns to delete.

ws.DeleteColumns(3,4);
ws.DeleteColumns(3,4)