This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring 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
It's not a secret anymore!