aspose file tools*
The moose likes JDBC and the fly likes Writing into Excel file. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Writing into Excel file." Watch "Writing into Excel file." New topic
Author

Writing into Excel file.

zuber syed
Greenhorn

Joined: Jun 15, 2005
Posts: 1
Hi,

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.

Thanks.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41884
    
  63
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.


Ping & DNS - my free Android networking tools app
Kamesh Loganathan
Greenhorn

Joined: Jan 21, 2006
Posts: 20
Hi,
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.
 
wood burning stoves
 
subject: Writing into Excel file.