Wenn du es mit
Delphi-Quellcode:
type
dummy1,
dummy2 : string;
....
while NOT(VarIsEmpty(Excel.Cells[(index+i),2].Value)) do
begin
dummy1:='';
dummy2:='';
dummy1:=Excel.Cells[(index+i),2].Value;
dummy2:=Excel.Cells[(index+i),3].Value;
ComboBox4.Items.Add(dummy1+' '+dummy2);
inc(i);
end;
versuchst, was ändert sich?
Gruß
K-H