Hi Team,
I have a requirement to add a new sheet to the existing workbook which already contains one sheets.
Creating new sheet code which i added
-----------------------------------------------
int sheetIndex = worksheets.add();
Worksheet writeWorkSheet = (Worksheet)worksheets.get(sheetIndex);
writeWorkSheet.setName(“Sub Totals”);
After this i’m calling the LightCellsDataProvider.
I’m able to add the second sheet, but whenever I call LightCellsDataProvider, it inserts data to first sheet instead of second sheet. Please let me know what am i doing wrong here.
Thanks,
Sukesh