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!

Attachment: test.xls
Description: test.xls

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

Reply via email to