Hi Aspose team,
Hi,
Thanks for your posting and using Aspose.Cells for .NET.
Please use the Workbook.Worksheets.ActiveSheetIndex property for your needs. You can set your desired sheet using this property and MS-Excel will display this sheet on opening the file.
HI,
Hi,
Thanks for your posting and using Aspose.Cells for .NET.
Well, you cannot change the active sheet index in trial version. You will have to purchase and set license to change the active sheet.
Hi,

Hi,
Thanks for your posting and using Aspose.Cells.
Please first set the license and then load your workbook and set the active worksheet using the Workbook.Worksheets.ActiveSheetIndex property.
Please see here how I am setting the license.
I have attached the sample Excel file used in this code and the output Excel file generated by it for your reference. As you can see in the output Excel file, the second worksheet is the active worksheet.
C#
//First set the license
Aspose.Cells.License lic = new Aspose.Cells.License();
lic.SetLicense(@“F:\Aspose.Total.lic”);
//Load your workbook
Workbook workbook = new Workbook(@“F:\Shak-Data-RW\Downloads\sample.xlsx”);
//Set second worksheet as active worksheet, index starts from 0,
//so 1 means 2nd worksheet
workbook.Worksheets.ActiveSheetIndex = 1;
//Save the workbook
workbook.Save(“output.xlsx”);
Hi,
Hi Shahista,