Es gibt auch fertige Komponenten, die schön nach Excel exportieren.
DevExpress-Grids: direkt in eine Daen, ohne das Excel installiert sein muß (wenn ich mich nicht irre)
FastReports: aber da muß xcel installiert sein
OK, Delphi bringt auch alles mit. (nur den
CSV-Import muß man nicht kopieren ...
SplitString bzw. siehe StringHelper

)
https://learndelphi.org/de/what-you-...l-from-delphi/
Ein Therapeut entspricht 1024 Gigapeut.