Hello Mark and thank you for your reply, I'm not exactly sure what you mean. Perhaps my case is a bit special though. I use a base template that contains too many sheets. I then remove sheets and modify them a bit. I also add a couple of sheets. However, most sheets are not created by me (POI) but already exist.
Would be nice if you could confirm if the showInPane() method works. If it works for you then maybe there is something in my scenario that messes things up. Thanks, /Bengt 2015-09-24 16:27 GMT+02:00 Mark Beardsley <[email protected]>: > Just a thought from off of the top of my head - and I have not yet tried > this > out - but what happens if yoi call the setAsActiveCell() method after you > create each sheet of the workbook? > > The other alternative would be to create a workbook macro that gives cell > A1 > focus whenever the user selects a new tab but this could well have > undesirable consequences. > > If I have the chance tonight, I will try this out for myself. > > > > -- > View this message in context: > http://apache-poi.1045710.n5.nabble.com/showInPane-does-not-work-tp5720321p5720322.html > Sent from the POI - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
