Cells.DeleteColumns

DeleteColumns(int, int, bool)

Deletes several columns.

public void DeleteColumns(int columnIndex, int totalColumns, bool updateReference)
ParameterTypeDescription
columnIndexInt32Index of the first column to be deleted.
totalColumnsInt32Count of columns to be deleted.
updateReferenceBooleanIndicates whether update references in other worksheets.

See Also


DeleteColumns(int, int, DeleteOptions)

Deletes several columns.

public void DeleteColumns(int columnIndex, int totalColumns, DeleteOptions options)
ParameterTypeDescription
columnIndexInt32Index of the first column to be deleted.
totalColumnsInt32Count of columns to be deleted.
optionsDeleteOptionsOptions for the deleting operation

See Also