How to delete a worksheet

hello,
I want to delete a worksheet in Excel,how to do it ?
thank u first.

It’s also a feature of Aspose.Excel. Please check http://www.aspose.com/Products/Aspose.Excel/Api/Aspose.Excel.Worksheets.RemoveAt.html.

@sophiexxh,
Aspose.Cells has replaced Aspose.Excel which is no more continued. This new product Aspose.Cells has support for all the features of its predecessor as well as supports the latest features in different versions of MS Excel. You can add, remove and access worksheets in a workbook in a variety of ways. The following sample code demonstrates the deletion of a worksheet in a workbook.

// Creating a file stream containing the Excel file to be opened
FileStream fstream = new FileStream(dataDir + "book1.xls", FileMode.Open);

// Instantiating a Workbook object
// Opening the Excel file through the file stream
Workbook workbook = new Workbook(fstream);

// Removing a worksheet using its sheet name
workbook.Worksheets.RemoveAt("Sheet1");

//OR
//workbook.Worksheets.RemoveAt(0);

// Save workbook
workbook.Save(dataDir + "output.out.xls");

Here is a link to a document that provides details about adding, accessing, and removing worksheets from a workbook :
Manage Worksheets

Download the free trial version of this product from the following link
Aspose.Cells for .NET(Latest version)

A detailed runnable solution containing lot of ready to run examples is available here.