i am trying to get cell data from my .csv file but it gets error : jxl.read.biff.BiffException: Unable to recognize OLE stream
I don\'t understand how to solve this
JXL library doesnot support .csv
and .xslx
formats, which is the format used by Excel-2010. hence, use Excel 97-2003 which is .xls
foramatted and is supported by JXL library.
or else if you want to use excel-2010, use APACHE POI(XSSFWorkbooks) instead of JXL.
For using .csv format, google for CSVReader libraries.
save the file as Excel 97-2003 and also change the file format from xlsx to xlx , in the code(in the file name)
I was also facing this problem earlier. I googled and read this post and many other posts that were asking for solution to this BiffException
. I don't have the exact solution but as I fixed my problem you can do it too, perhaps.
I was trying to read data from the Excel file saved in MS Office 2010 and I was getting this error. I saved the file as an Excel 2003-7 and then read it without any problem. It may the case that this problem occurs in Office 10 but not in Office 2003-7.
I hope this will work in your case.
Saving File as "Excel 97-2003 Workbook" type solved my issue.
Actually you are using different version of csv file .Please save it in the exact version.
For ex: we should save the excel sheet in word as 9
I was trying to read data from the Excel file saved in MS Office 2010 and I was getting this error. I saved the file as an Excel 2003-7 and then read it without any problem. It may the case that this problem occurs in Office 10 but not in Office 2003-7