Hi,
I am opened and re-saved one Excel file. After re-saving I cannot open that file with MS Excel. I used following code:
Workbook workbook = new Workbook();
workbook.open(“d:\test\source.xlsx”);
workbook.save(“d:\test\new-source.xlsx”);
Can you investigate this, please?
source.xlsx is in attachment.
Zeljko
Hi,
Please provide FileFormatType while saving the file, i.e.
You may try to change the code to:
workbook.save(“d:\test\new-source.xlsx”, FileFormatType.EXCEL2007);
Kindly let us know if you still find the issue.
Thank you.
Hi,
Thanks for response, it helped me a lot.
Zeljko