Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Excel worksheet name

 
Stelian Iancu
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Doug Wang
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Doug Wang
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is one example of using HSSF and the class diagram of HSSF. Enjoy them.
 
moose poop looks like football shaped elk poop. About the size of this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!