Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
> You can access an Excel sheet in java easily by using a database acess: you have to create a jdbc connection that uses the JDBC:ODBC driver (see the JDBC tutorial from sun, great explanations ...) an point to the url of your spreadsheet and use sql queries such as (SELECT * FROM "spreadsheet1$") assuming spredsheet1 is the first spreadsheet in your workbook (notice the additional '$' added I don't know why) Now I have another question ... all this above is easy as long as you know how the workbook is formed (eg: you know your spreadsheets names) but how can you do if you don't know the workbook and you get it as a parameter. Hope this helped you ... and hope you will help me :) Lionel Replies:
|
Sponsored Links
|