Meaningless Drivel is fun!*
The moose likes Java in General and the fly likes Creating the .xls and .xlsx Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Creating the .xls and .xlsx " Watch "Creating the .xls and .xlsx " New topic
Author

Creating the .xls and .xlsx

Kanwardeep Singh
Greenhorn

Joined: Dec 06, 2012
Posts: 10
Does anyone know if there is any jar by support of which we can write code supporting creation of both formats .xls and .xlsx (APache jar...POI i know)?
any other?
Implementation would be a better solution.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
Yup, POI is the way to go. If you use the classes in the org.apache.poi.ss.* packages (and NOT the ones in org.apache.poi.hssf or org.apache.poi.xssf) then you can work with both file formats. http://poi.apache.org/spreadsheet/quick-guide.html will get you going (just remember to use the proper package!).


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating the .xls and .xlsx
 
Similar Threads
How to hanlde .xls and .xlsx using poi api
how to convert a .xlsx to .xls file using poi
Problem in opening xlsx file when downloaded using a action class
Read a .xls,.xlsx file format using XSSF
same java program to read xls file and xlsx file using poi