Activate last excel worksheet on worksheetlist with closedxml in c#

Viewed 29

Is there any method for activate to last excel worksheet with closedxml in c# ? Im already using SetTabActive() method but its not activate on worksheet bar.

workbook.Worksheet(83).SetTabActive().SetTabSelected();
workbook.SaveAs(openFileDialog1.FileName);

when im saving excel file, it was opened like this:

enter image description here

But i would like to see like this:

enter image description here

0 Answers
Related