Anzeige
Anzeige
HERBERS
Excel-Forum (Archiv)
20+ Jahre Excel-Kompetenz: Von Anwendern, für Anwender
Inhaltsverzeichnis

Suche ab Zelle A5

Forumthread: Suche ab Zelle A5

Suche ab Zelle A5
Karsten
Hallo,
in u.st. Code möchte ich, dass die Suche erst in Zelle A5 beginnt bis zum Schluß der A Spalte. Mit Range("A5:A65536") haut es nicht hin. Weiß jemand, wie es richtig stehen muß?
Gruß
Karsten
Dim varResult As Variant
varResult = Application.Match(CDbl(Date), Range("A:A"), 0)
If IsNumeric(varResult) Then Application.Goto Cells(varResult, ActiveCell.Column)
ActiveWindow.ScrollRow = ActiveWindow.ActiveCell.Row
https://www.herber.de/bbs/user/66713.xls
Anzeige

2
Beiträge zum Forumthread
Beiträge zu diesem Forumthread

Betreff
Benutzer
Anzeige
AW: Suche ab Zelle A5
20.12.2009 11:37:11
Josef
Hallo Karsten,

Dim varResult As Variant
varResult = Application.Match(CDbl(Date), Range("A5:A65536"), 0)
If IsNumeric(varResult) Then Application.Goto Cells(varResult + 4 , ActiveCell.Column), True

Gruß Sepp

Anzeige
AW: Suche ab Zelle A5
20.12.2009 12:37:33
Karsten
Hallo Sepp,
besten Dank.
Gruß
Karsten
;

Beliebteste Forumthreads (12 Monate)

Anzeige
Anzeige
Anzeige