Removing a Column from Worksheet

Removing a Column from Worksheet

To remove a column from the worksheet, please follow the steps below:

  • Access any desired Worksheet
  • Remove Column from the Worksheet by specifying the index of the column to be removed
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
// Accessing first worksheet of the Grid
Worksheet sheet = gridDesktop1.Worksheets[0];
// Removing the first column of the worksheet
sheet.RemoveColumn(0);