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

Free Support Forum - aspose.com

Set First Visible Tab not found in Java

Hi All,

I want to set first tab as visible always when i generate excel. I used

workbook.getWorksheets().setActiveSheetIndex(0); which only keeps focus on first sheet. But i also want in the Tab also first should be visible. Now foucus is on first sheet but in tab it shows last tab. I found solution in .net as below

workbook.Worksheets.ActiveSheetIndex = 0,

workbook.Settings.FirstVisibleTab = 0.

solution provided in

<A href="https://forum.aspose.com/t/97690</A> for .Net</STRONG></P> <P><STRONG>But not finding same in JAVA. thanks in advance</STRONG></P>

Hi,

Thanks for your posting and using Aspose.Cells.

Please download and use the latest version: Aspose.Cells
for Java v8.3.1.6
it does contain workbook.getSettings().setFirstVisibleTab(value) method.