Hi,
I am trying to write some content to .XLSB file using aspose java API. I see the file getting corrupted after save and showing repair prompt from Excel.
Tried the following simple program to see whether issue with my data or aspose. Open a work book (which was not corrupted) and just save it using aspose . It is corrupted and prompting to repair and removing some pivot tables.
public static void main(String[] args)
{
try
{
String in=“D:/reports/in/C13_v2.xlsb”;
Workbook workbook= new Workbook(in);
workbook.save(“D:/reports/in/C13_v2_temp.xlsb”,SaveFormat.XLSB);
System.out.println(“Saved”);
}
catch(Exception e)
{
e.printStackTrace();
}
}
Currently we are using aspose-cells-8.4.1.jar . I tried with the latest version (8.5.x) also . Its not working.
I see the similar issue fixed for the below issue.
I tried aspose-cells-8.3.2.4.jar as mentioned in the above post but it is also not working with the attached XLSB file.
Any idea how to fix this issue?