Bug in TXLSWorkbook.CopyCells

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
GenasysCarl
Posts: 11
Joined: Mon Jan 09, 2017 6:15 am

Bug in TXLSWorkbook.CopyCells

Post by GenasysCarl »

After some debugging, I found the following in XLSSheetData5.pas:

Code: Select all

Items[DestSheet].FCells.DeleteCell(C,R);
I think it should be:

Code: Select all

Items[DestSheet].FCells.DeleteCell(DestCol + (C - Col1), DestRow + (R - Row1));
Let me know if this is right. Thanks!
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Bug in TXLSWorkbook.CopyCells

Post by larsa »

Hello

Yes, it looks correct. Will include the fix in the next update.
Lars Arvidsson, Axolot Data
GenasysCarl
Posts: 11
Joined: Mon Jan 09, 2017 6:15 am

Re: Bug in TXLSWorkbook.CopyCells

Post by GenasysCarl »

Thanks Lars,

When is the next update scheduled?

Regards,
Carl
Post Reply