Free Support Forum - aspose.com

Error in opening ODS Excel File Format

workbook = new Workbook(); // CREATING A WORKBOOK
f = new File(fname); // INITIALIZING FILE OBJECT
fs = new FileInputStream(f);

workbook.open(fs,FileFormatType.ODS); // error on this line using latest Aspose version for ODS.

// IllegalStateException occured on this line.

Please reply.

Hi,

Kindly post your sample ODS file here, we will check your issue soon.

Thank you.