• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

read an excel file in .xlsx format

 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it possible to read an excel file in .xlsx format not xls format using JXL?

Please send me some examples .


thanks
 
Marshal
Posts: 28226
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It tells you the answer to that question right on the project's home page: http://jexcelapi.sourceforge.net/
 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


use above getting a try or read the offical reference guide from the project url http://jexcelapi.sourceforge.net/
 
Sheriff
Posts: 22784
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Clapham wrote:It tells you the answer to that question right on the project's home page: http://jexcelapi.sourceforge.net/


And since .xlsx is Excel 2007 and that one's not mentioned, the answer is no.

Apache POI has support for Excel 2007 through XSSF.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
this solution involves using the zip and stax(read/write xml) api

http://www.mets-blog.com/java-read-excel-xlsx-file-part-1/

Usage:


Source

 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I wouldn't call that "a solution". The mere fact that Office 2007 formats are a zipped collection of XML files, and can be treated as such, is not at all the same as what you gain by using a library such as jExcelAPI for Office 2003 files, and POI for Office 2003 and Office 2007 files.
 
reply
    Bookmark Topic Watch Topic
  • New Topic