Error reading test.xls

Questions and answers on how to use XLSSpreadSheet.
Post Reply
Munt
Posts: 1
Joined: Sat Feb 07, 2009 11:36 am

Error reading test.xls

Post by Munt »

Hello !

I sent the file test.xls, which was recorded with an error.

>> I'm use very simply code:
>>
>> // XLSReadWriteII 4.0 version 4.00.15
>>
>> XLS->Filename = "test.xls"; // test.xls is attached to this mail!
>> XLS->Read();
>>
>> XLS->Filename = "new.xls";
>> XLS->Write();
>>
>> After writting MS Excel opening "new.xls" with errors and trying to recovery
>> it!
>>
>> But source file "test.xls" opens fine, without any messages.
>>
>> What I doing wrong ?
>> My work is stopping. Please answer me!
>>
>> I'm registered user from version 2.0 31/03/2005!

XLSSpreadSheetDemo.exe reads it is also an error.

I really like your product,
but so far I have not received any answers!

Can I get a response - whether working on corrected?
texas_stubby
Posts: 3
Joined: Tue Sep 09, 2008 9:53 pm

Re: Error reading test.xls

Post by texas_stubby »

I have seen a similar error, but not with an example as simple as yours.

For some reason version 4 does not like an empty strings e.g. currSheet.asString[1,1] = '' will cause the error you are seeing. xlsreadWriteII2 did not exhibit this behaviour.

Regards
Dave
Post Reply