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

Suche mit FindNext

Forumthread: Suche mit FindNext

Suche mit FindNext
22.01.2004 16:45:02
Timo

Sub Test()
Dim c As Variant
With Worksheets(1).Range("a1:a500")
Set c = .Find(2, LookIn:=xlValues)
If Not c Is Nothing Then
firstAddress = c.Address
Do
c.Value = 5
Set c = .FindNext(c)
Loop While Not c Is Nothing And c.Address <> firstAddress
End If
End With
End Sub


Hallo Leut,
mein Excel meckert ueber die Zeile
Loop While Not c Is Nothing And c.Address <> firstAddress
Warum?
Vielen Dank fuer alle Antworten!
Timo
Anzeige

1
Beitrag zum Forumthread
Beitrag zu diesem Forumthread

Betreff
Datum
Anwender
  • 22.01.2004 16:45:28
    .
Anzeige
.
22.01.2004 16:45:28
.
.
Anzeige
Anzeige
Anzeige
Live-Forum - Die aktuellen Beiträge
Datum
Titel
14.05.2026 13:31:09
14.05.2026 09:50:42
13.05.2026 19:14:18