On Wed, 7 Jan 2009, Patrick GUERIN wrote:
But, unfortunaly, files created or modified with Excel 2003 can't be used
with apache POI.
It work fine with files created by OpenOffice or older version of Excel.
This exception thrown:
java.lang.IllegalArgumentException: Your InputStream was neither an OLE2
stream, nor an OOXML stream
I'd check that your file really is an excel .xls file. You get that
exception if you try to feed POI something that isn't really a .xls or
.xlsx, for example a csv file, or html (both of which excel will happily
open when named .xls)
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]