I'll look into this later today. with the code and the file available, i
should at least be able to tell whats wrong, if not fix it. 

On Sat, 2003-10-25 at 01:11, Jean, Victor [IT] wrote:
> I'm using POI to do a exact copy of an excel file.
> 
> here's the code:
> 
>   HSSF             hssf   = new HSSF("c:/upload/test.xls");           
>   HSSFWorkbook     wb     = hssf.hssfworkbook;
>   FileOutputStream stream = new FileOutputStream("c:/upload/output.xls");
>   wb.write(stream);
>   stream.close();
> 
> The output file opens up fine, however when I try to save the output file
> or when I press CTRL-C on a cell.  It crashes excel throwing a Dr. Watson.
> 
> I'm getting this warning message when I run the code:
> 
> [WARNING] Unknown Ptg 3d (61)
> 
> Attached is the excel file i'm trying to copy.
> 
> 
> Thanks for your help!  Great product so far!
> 
> 
> ______________________________________________________________________
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to