aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Excel worksheet name" Watch "Excel worksheet name" New topic
Author

Excel worksheet name

Stelian Iancu
Greenhorn

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!
Regards,
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Excel worksheet name