• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

POI active sheet

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I have a excel sheet having three tabs /worksheets in it.
by default when i open the excel sheet,it gets opened with first tab as selected.

but i have a requirement where in when i open up the excel sheet ,it should get opened up with third tab as selected.

I tried making use of setActiveSheet(sheet index) from workbook(HSSFWorkBook) object. (E.g. workbook.setActiveSheet(2)) (2 as sheet index starts with 0)
but it is not working for me.

Can any one know how do i get it to work?


Prashant
 
I was her plaything! And so was this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic