Autor Beitrag
eddyp
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 58



BeitragVerfasst: Do 19.02.04 01:44 
Formatieren einer Zelle mit einem bestimmten Format
was kann in den string format geschrieben werden , wo finde ich die möglichen Formate ???
ausblenden Delphi-Quelltext
1:
Excel1.Cells[Zeile,Spalte].Numberformat := Format;					

_________________
Grüsse, eddyp
Martin77
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 282

XP Prof
D6 Prof, D7 Personal, D7 Enterprise, D8 personal
BeitragVerfasst: Do 19.02.04 10:16 
Zeichne dir in Excel nen Makro auf wenn du das format änderst, und guck dir hinterher das Makro an, wenn du ne gute Referenzliste findest sag mir bitte mal bescheid.


Gruß Martin
eddyp Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 58



BeitragVerfasst: Di 24.02.04 10:26 
EXCEL- Beschreibung

Danke an @sven

_________________
Grüsse, eddyp
Sven
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 314


D6 Ent, K3 Pro (patched)
BeitragVerfasst: Di 24.02.04 11:40 
Biete :D

Da in dem PDF-Dokument nur die Standardformate eingetragen sind, und die deutschen Währungs-Entsprechungen mit Euro dort nicht stehen, empfehlen ich diesen BIFF-Viewer (468KB).

Es ist ein CLX-Projekt, deshalb darauf achten das die qtinf.dll irgendwo vorhanden ist und im Systempfad liegt.

Zu den Formaten:
Am einfachsten ist es, sich ein Exceldokument zu erstellen und einfach mal die Zellen mit den verschiedenen Formaten zu formatieren. Zellwerte sind dabei nicht unbedingt erforderlich. Dann das ganze abspeichern und mit dem BiffViewer die Format-Records ansehen.

_________________
MDK 9.1, Kernel 2.4.21, KDE 3.1 Kylix 3 Pro (patched), nutze aber auch Windows
eddyp Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 58



BeitragVerfasst: Di 24.02.04 23:20 
... qtinf.dll gerade gegooglt... noch nicht benutzt ...timeout

_________________
Grüsse, eddyp
Sven
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 314


D6 Ent, K3 Pro (patched)
BeitragVerfasst: Mi 25.02.04 07:09 
eddyp hat folgendes geschrieben:
... qtinf.dll gerade gegooglt... noch nicht benutzt ...timeout


Sorry, ich habe mich vertippt. Muß heißen qtintf.dll und ist ab Delphi 6 dabei.

_________________
MDK 9.1, Kernel 2.4.21, KDE 3.1 Kylix 3 Pro (patched), nutze aber auch Windows