Hi All,

I am unable to open the excel file which is created programatically.  This 
is what I am doing :

fileIn = new FileInputStream("test.xls");
POIFSFileSystem fs = new POIFSFileSystem(fileIn);
 
HSSFWorkbook test = new HSSFWorkbook(fs);
test.removeSheetAt(2);

 fileOut = new FileOutputStream("D:\\Workshop\\poi\\excel 
Utility\\workbookout.xls");
 test.write(fileOut);

After writing the file, when I open it, it just open the file poping up 
the microsoft standard error dialog.

Your help is much appreciated.

Regards,
Davis

Reply via email to