On Mon, 2002-02-18 at 23:29, Kini, Nagraj (CORP, GEITC) wrote:
> Hi,
>    Is there a way by which I can insert values in a existing excel file? I
> tried two thing, first I used the setCellType and then setCellValue and then
> write the file using the HSSFWorkbook write method. But then excel doesn't
> recognize the format. So then I converted  it to the byte array using the
> getBytes method and then creating a file but then still no luck :(. Has
> anyone tried this out?
> Thanks,
> Nagraj.
> 

did you read this: http://poi.sourceforge.net/hssf/how-to.html



> 
> "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
> ADDRESSEE and may contain confidential and privileged information.
> If the reader of this message is not the intended recipient,
> you are notified that any dissemination, distribution or copy of this 
> communication is strictly Prohibited. 
> If you have received this message by error, please notify us 
> immediately, return the original mail to the sender and delete the 
> message from your system."
> 
-- 
www.superlinksoftware.com
www.sourceforge.net/projects/poi - port of Excel format to java
http://developer.java.sun.com/developer/bugParade/bugs/4487555.html 
                        - fix java generics!


The avalanche has already started. It is too late for the pebbles to
vote.
-Ambassador Kosh

Reply via email to