Autor Beitrag
gbst51sc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 56

Windows XP
Delphi 7.0 Enterprise, Delphi 2005 Personal
BeitragVerfasst: Mo 24.04.06 12:38 
Mithilfe des Easyhelpers konnte ich eine vereinfachte Schleifenkonstruktion definieren, die mehrere Tabellen in mehrere worksheets ins Excel schreibt. Jetzt habe ich allerdings das problem, dass meine Tabellenspalten (Stringgrid) deutlich breiter sind als die im excel. wie kann ich also spaltenbreiten festlegen?

THANKS
Sy-
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 177



BeitragVerfasst: Mo 24.04.06 12:59 
Wenn du in Delphi die Breite meinen solltest, dann:
ausblenden Delphi-Quelltext
1:
stringgrid1.colwidths[0]:=100;					


Gruß
gbst51sc Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 56

Windows XP
Delphi 7.0 Enterprise, Delphi 2005 Personal
BeitragVerfasst: Do 27.04.06 12:35 
Nein, ich meinte die Spaltenbreite im Excel-Worksheet