I upgraded to Excel 2007, and opened my 2003 XLS file, and saved it as a 2007
XLSX file.

I now get this error:

org.apache.poi.poifs.filesystem.OfficeXmlFileException: The supplied data
appears to be in the Office 2007+ XML. POI only supports OLE2 Office
documents
        at
org.apache.poi.poifs.storage.HeaderBlockReader.<init>(HeaderBlockReader.java:108)
        at
org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:151)
        at 
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:312)
        at 
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:293)


Dave Fisher-6 wrote:
> 
> (2) XLSX - Excel 2007 - This is the new XML based file format. POI is  
> added support for this after 3.2. Upgrade to POI 3.5beta5 or download  
> a nightly build from http://encore.torchbox.com/poi-svn-build/ - POI-  
> 3.5-FINAL is expected within a month.
> 

-- 
View this message in context: 
http://www.nabble.com/Unable-to-open-Excel-2007-file-%28block--0---already-removed%29-tp22669473p22683539.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