I want to assign a specific name for an object like TDrwTexts. Easily, I can read the name with this command (Caption := XLS.sheets[0].DrawingObjects.Texts.items[i].Name;).
Why I'm not able to write it with this kind of command:
with xls.Sheets[0].DrawingObjects.texts.add do begin
row1 :=5;
row2 :=20;
name := 'hello';
end;