We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Set WorkSheet for intial display

I copy data from sheet2 into sheet1 then use process.start to display the Excel file, sheet2 is showing by default where I want sheet1 to show by default.

How can I set Sheet1 to show first as it is the first sheet in the file?

Thanks for your assistance,
Kevin

If there is no method than I can always resort to removing it i.e.

workbook.Worksheets.RemoveAt

Hi,

No, you don't need to remove any sheet for the sake of your need, you may activate your desired sheets or cells. Please check the following doc topic for your reference:

http://www.aspose.com/documentation/file-format-components/aspose.cells-for-.net-and-java/activating-sheets-and-making-an-active-cell-in-the-worksheet.html

Thank you.

Thanks for the reply/solution, very much appreciated

Amjad Sahi:

Hi,

No, you don't need to remove any sheet for the sake of your need, you may activate your desired sheets or cells. Please check the following doc topic for your reference:

http://www.aspose.com/documentation/file-format-components/aspose.cells-for-.net-and-java/activating-sheets-and-making-an-active-cell-in-the-worksheet.html

Thank you.