@ Venkat Sunil M XLSX EXCEPTION I hope many people are looking for a solution for the "InvalidFormatException", here we go.
fileInputStream = new FileInputStream(fileName); OPCPackage opcPackage = OPCPackage.open(fileName); XSSFWorkbook xssfWorkBook = new XSSFWorkbook(opcPackage); If you getting "InvalidFormatException", create an instance for OPCPackage like shown above and pass it. It works. -- View this message in context: http://apache-poi.1045710.n5.nabble.com/openxml4j-InvalidFormatException-tp2307028p5712871.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]
