Thema: Delphi Excel 'dynamisch' machen

Einzelnen Beitrag anzeigen

ByTheTime

Registriert seit: 24. Sep 2011
Ort: Frankfurt
297 Beiträge
 
Delphi XE2 Architect
 
#4

AW: Excel 'dynamisch' machen

  Alt 6. Dez 2011, 12:40
Sorry, war 'ne dumme Frage von mir, habs gelöst mit:

Delphi-Quellcode:
 while (not Table1.Eof) do
  begin
   Excel.Cells[i, 1].Value := Table1D.Value;
   Excel.Cells[i, 2].Value := Table1Z.Value;
   Excel.Cells[i, 4].Value := Table1B.Value;
   Excel.Cells[i, 5].Value := Table1W.Value;
   Excel.Cells[i, 6].Value := Table1Be.Value;
   Excel.Cells[i, 7].Value := Table1M.Value;
   Excel.Cells[i, 8].Value := Table1P.Value;
   Excel.Cells[i, 9].Value := Table1E.Value;
   Excel.Cells[i, 10].Value := Table1A.Value;
   Excel.Cells[i, 11].Value := Table1Ec.Value;
   Table1.Next;
   i := i + 1;
  end;
Lukas
  Mit Zitat antworten Zitat