Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Write to and read from Excel file

 
Hermione Krum
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I write to and read from an Excel file??
Please help and thx!!!
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make it a csv file.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Excel is actually a database in the backgroung. That is how all that formatting and formula information can be stored along with the actual contents of the cells.
This link has an example of how to use JDBC to access Excel.
http://www.javaranch.com/ubb/Forum3/HTML/000342.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic