Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Mon Apr 20, 2020 8:30 am

Hello,
when i do an excel export i am always on the last tab. there is a variant to force the first tab

Semjasa
 
Posts: 36
Joined: Wed Dec 19, 2018 11:50 am

Mon Apr 20, 2020 8:48 am

i found a solution for this issue :lol:
sometimes it can just be easy
Code: Select all
workbook.Worksheets[1].Activate();

Semjasa
 
Posts: 36
Joined: Wed Dec 19, 2018 11:50 am

Mon Apr 20, 2020 8:59 am

Hello,

Glad to hear that you find the solution yourself!
If you have further questions, please feel free to let us know.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Return to Spire.XLS