tags:

views:

710

answers:

2

Hi,

I have downloaded latest POI version 3.5. I want to read the Excel file (.xlsx format) using the POI.

If anybody has any Example source code or any URL or any other code snippet which can read the Excel file (.xlsx format) using the latest version of POI,which would be appreciated.

Thanks,

Mishal Shah

+1  A: 

Hi, Here is the XLSX to CSV Converter example for POI, and you can dig into svn for more examples here

S.Mark
Thanks for help.I have taken the sample codes from it but still i am getting one weird problem.if you knew or faced such kind of problem.I have added all the POI 3.5 provided jars into the project.But, in the netbeans and eclipse in both cases it is giving error/exception.Generated exception is below:Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException at ExcelSheetCreation.main(ExcelSheetCreation.java:38)All the users having same kind of problem and nothing like whole solution given.Please help me out in this case also.Thanks,Mishal Shah
Mishal
A: 

Have a look at SmartXLS for Java.

It is a third party Excel component which can read/write Excel2007 files and support most excel features like Chart,Formula,Pivot table...etc.

liya