This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Writing into Excel file. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Writing into Excel file." Watch "Writing into Excel file." New topic

Writing into Excel file.

zuber syed

Joined: Jun 15, 2005
Posts: 1

My requirement is to add column into already existing excel sheet and and writing in to that column.

Is there anyway to do this?

Your comments are greatly appreciated.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Welcome to JavaRanch.

There are a couple of libraries that read and write XLS files, POI and jExcelApi. The AccessingFileFormats wiki page has links to them.
Kamesh Loganathan

Joined: Jan 21, 2006
Posts: 20
That is correct, there are a couple of free api's to interact will excel or com in general. POI, IBM java-com bridge etc. Jintegra can be used to interact with any com component, although it has to be bought. If you are looking at just adding a column into the spread sheet the best way to do it is write a comma seperated format file and rename the file to .xls. This is simple and fast to do.
I agree. Here's the link:
subject: Writing into Excel file.
It's not a secret anymore!