File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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