Autor Beitrag
Almidagu
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26



BeitragVerfasst: Do 26.02.04 21:20 
Hallo,

in VBA gibt es einfache Lösung, wie man die letzte Zeile findet:
ausblenden Quelltext
1:
Worksheet.Columns(1).SpecialCells(xlCellTypeLastCell).Row					

Ich möchte des Gleiche in Delphi 7 finden. Ich habe auch in der Datei "Excel2000.pas" Konstante xlCellTypeLastCell gefunden. ... aber weiter fällt mir gar nichts ein.

Ich bitte um Hilfe.

MfG
Almidagu
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Fr 27.02.04 09:52 
Hallo!

Hast du schon mal Google benutzt um eventl. Hilfe zu bekommen? Such mal nach Suche bei Google DELPHI XLCELLTYPELASTCELL. Dort solltest du einige Quelltexte bekommen.

Gruß
Tino
Almidagu Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26



BeitragVerfasst: Fr 27.02.04 20:12 
Guten Tag Tino,

vielen Dank für die Antwort und den Tipp. Ich habe schon vielmal in der verschiedenen Suchmaschine gesucht. Drei Seiten sind über VBA. Die Seite www.swissdelphicenter.ch kenne ich und habe schon bei der Kodierung mittels OleVariante gelesen und benutzt. ... Und ich war überrascht, als ich noch mal verschiedene Schreibweise in Delphi 7 ausprobiert habe. Jetzt ist alles OK!

Danke sehr noch mal.
Grüße
Almidagu
cwille
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39

xp,win2003-server,linux
D7 Enterprise
BeitragVerfasst: Do 03.02.05 10:30 
Almidagu hat folgendes geschrieben:
Hallo,

in VBA gibt es einfache Lösung, wie man die letzte Zeile findet:
ausblenden Quelltext
1:
Worksheet.Columns(1).SpecialCells(xlCellTypeLastCell).Row					

Ich möchte des Gleiche in Delphi 7 finden. Ich habe auch in der Datei "Excel2000.pas" Konstante xlCellTypeLastCell gefunden. ... aber weiter fällt mir gar nichts ein.

Ich bitte um Hilfe.

MfG
Almidagu

Very Happy :D


Hallo javascript:emoticon(':D') ich probiere mal den nachfolgenden Code aus.
Excel.Selection.End[xlDown].Select;

Gruß Carsten