poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Beardsley <markbrd...@tiscali.co.uk>
Subject Re: how to set to first column and first row active.
Date Fri, 30 Mar 2012 06:31:39 GMT
The first thing that springs to mind is the setAsActiveCell() method defined
for both XSSFCell and HSSFCell. Once you have built the worksheet, get a
reference for cell A1 and call the setAsActiveCell() method on that before
you save the file away; it might even be possible to call this method at the
start of the process, as you are building the worksheet and creating cell A1
(assuming that is top, left hand most cell that users can populate on the
sheet).

--
View this message in context: http://apache-poi.1045710.n5.nabble.com/how-to-set-to-first-column-and-first-row-active-tp5605774p5605803.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message