Hi,
I am using Lazarus v1.0.10 i386-win32-win32/win64, FPC v2.6.2 on Win7-64.
I use fpspreadsheet (can't find version numbers in source, however, it was extracted from fpspreadsheet-1.1.zip)
I use the excel8write and uncomment the looper in line 45, I generate a 9000 lines file with 8 columns (instead of just 4 shown in the example).
This creates a 7MB file (attached test2a.xls) which Excel2010 rejects.
If I reduce the file size by using just 4 columns but still 9000 rows. Excel has no problems reading this (attached file test2b.xls)
Please note that, in the excel8write demo, I also changed the lines used in that 9000 row loop from WriteAnsi.. to WriteUTF8Text.
I have attached a zip file that contains the failing xls file (due to attachment restrictions I can't attach both)
Cheers,
Nick