Selection.Find läuft nicht
25.05.2004 10:29:47
David
"Objektvariable oder with-Blockvariable nicht festgelegt"
Was soll ich machen?
Ich brauch das aber mit dem "r" wegen den weiteren Ergebnissen.
Dim r As Range
ActiveWorkbook.Sheets("Vorlage 1").Activate
Range("A1").Select
Set r = Selection.Find(What:="? ", After:=Range("A1"), LookIn:=xlValues, LookAt:= _
xlPart, SearchOrder:=xlByColumns, SearchDirection:=xlNext, MatchCase:=False) _
.Activate
If Not r Is Nothing Then
Anfang = r.Address
Do
Set r = Cells.FindNext(After:=ActiveCell).Activate
Debug.Print c.Value
Loop While Not r Is Nothing And r.Address != Anfang
End If