Was able to locate the problem. Earlier the code used a xlt file to start with while exporting and then make changes to it and then output the file as an xls file. I had changed the code to start from a xltx file and then finally output it as an xlsx. This doesnt seems to work so i changed the starting template file to a xlsx and that seems to work. Still dont understand if the xlt to xls worked fine why does the XSSF implementation not work for xltx to a xlsx file.
-- View this message in context: http://apache-poi.1045710.n5.nabble.com/Excel-not-able-to-open-an-exported-xlsx-file-tp5122864p5126446.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]
