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

Suche mit FindNext

Forumthread: Suche mit FindNext

Suche mit FindNext
22.01.2004 15: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 15:45:28
    .
Anzeige
.
22.01.2004 15:45:28
.
.
Anzeige
;

Beliebteste Forumthreads (12 Monate)

Anzeige
Anzeige
Anzeige