Note: would have been nice if you mentioned that you did a cross posting from the German forum.
Oh, sorry. I will do the next time. I didn't know that the forums belong together.
They don't belong together, but many people of the German forum are also active here and for example I was confused at first because I had thought I had read that question somewhere (didn't remember that it was on the German forum) and considering we have problems with spammers that copy other posts as their first posts...
Also this way one can see what other people already suggested.
I think your problem is that you assign a string value to Excel cell.
Right! Then it might indeed be fixed with my recent changes to
ComObj, because the conversion of
AnsiString variables to
WideString did not work correctly.
As a workaround you could simply cast your string to
WideString (
not UnicodeString) when assigning the grid's cell to the worksheet's:
app_excel.workbooks[1].sheets[1].cells[row+1, col+1] := WideString(grid.cells[col, row]);