Page 1 of 1

"%1 already exists." when opening older excel file

Posted: Wed Oct 17, 2007 11:19 pm
by gordy
happens when I try to open files saved as excel 95 or excel 4 workbook.
Traced it to XLSStream2.pas line 258

using version 3.01.02

Posted: Wed Oct 17, 2007 11:33 pm
by gordy
happens when trying to load .xlsx files created by excel 2007 as well

Posted: Wed Oct 17, 2007 11:44 pm
by gordy
seems to only happen with LoadFromStream

Posted: Mon Oct 22, 2007 6:23 am
by larsa
Hello

The file format is probably invalid. Excel 2007 files (*.xlsx) can't be opened, as those files are not supported yet.


Lars Arvidsson

Posted: Mon Oct 29, 2007 5:08 pm
by gordy
what about Excel 95 or Excel 4 workbook files?
you can reproduce this easily by saving a new Excel 95 file from Excel 2003 use a TFileStream to open the file then try to use XLSReadWriteII.LoadFromStream