This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Excel worksheet name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Excel worksheet name" Watch "Excel worksheet name" New topic

Excel worksheet name

Stelian Iancu

Joined: Feb 20, 2002
Posts: 21
Hi all!
If anybody has some experience with the Jakarta's POI project, I want to ask you if it is possible to find out the name of the worksheets in a given Excel file.
Any help is appreciated!
Stelian Iancu

--<br />Linux registered user 287835<br /> <br />Be different. Think.
Doug Wang
Ranch Hand

Joined: Oct 05, 2001
Posts: 445
Hi Stelian,
Sure you can get the name of an Excel sheet.
Some codes like these:

Hope it be helpful.
[ March 11, 2002: Message edited by: Doug Wang ]

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep
Doug Wang
Ranch Hand

Joined: Oct 05, 2001
Posts: 445
Here is one example of using HSSF and the class diagram of HSSF. Enjoy them.
I agree. Here's the link:
subject: Excel worksheet name
Similar Threads
WA #1.....word association
Dynamic table creation based on excel template.
Opening excel sheet separately
report generation in excel using java
How do i save a file that has been generated using JSP in excel format .