Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

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

Signature
C#
C#
 public void DeleteColumns(int columnNumber, int columnCount)
Signature
vb.net
vb.net
Public Sub DeleteColumns(ByVal columnNumber As Integer, ByVal columnCount As Integer)
Parameters
Param
columnNumber
columnNumber

The 0-based number of the column to remove.

Param
columnCount
columnCount

The number of columns to delete.

Example
Code Block
csharp
csharp
titleC#
ws.DeleteColumns(3,4);
Code Block
vb.net
vb.net
titlevb.net
ws.DeleteColumns(3,4)