Thanks Nick for your quick response.

I've tried your approach as below and it seems not working.  Can you pls
help if there's anyother problem cuased this?

//read the temaplate excel with embed object 
String filePathIn = "templdate.xls"; 
fs = new POIFSFileSystem(new FileInputStream(filePathIn)); 
HSSFWorkbook wb = new HSSFWorkbook(fs*,ture*);   
//write the templdate excel into output file 
String filePathOut="out.xls"; 
FileOutputStream fileOut = new FileOutputStream(filePathOut); 
wb.write(fileOut);   
fileOut.close(); 






--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/POI-embed-object-in-excel-cannot-start-the-source-application-for-this-object-tp5710760p5710764.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to