You are not logged in.
Pages: 1
Hi All,
Getting the above error message for the following line of code -
xlWorksheet.Range(xlRange).Value:=xlValues;
Any ideas?
Thanks!
Offline
Yes, not my code but trying to understand and debug -
xlWorksheet : oleVariant;
////
xlValues[numCol]:=oleVariant(UTF8toUTF16(lTable[numRow][numCol]));
////
xlRange:=oleVariant('A'+intToStr(numRow+1)+':'+colNumToColStr(nbCols)+intToStr(numRow+1));
when I print xlRange it seems ok, xlValues cannot be printed out - seems like some kind of array.
Last edited by udihamudi (2022-09-23 15:58:08)
Offline
I printed the exception type and message, saying -
EOleSysError raised, with message: Member not found
Does this give us any clue?
Thanks
Offline
It means object you retrieved do not contain that member (Value or what ever you used). There are examples (and I think library) for working with Excel through OleAPI.
This is not a problem for this forum.
Offline
Pages: 1