
Set Rng = Range("B1:B" & Lr).Find(Testo, after:=Range("B1"))
If Not Rng Is Nothing Then
firstAddress = Rng.Address
Do
Rng.Select
If MsgBox("proseguo si/no", vbYesNo, "Ricerca") = vbNo Then Exit Sub
Set Rng = Range("B1:B" & Lr).FindNext(Rng)
Loop While Not Rng Is Nothing And Rng.Address <> firstAddress
End If |
If MsgBox("proseguo si/no", vbYesNo, "Ricerca") = vbNo Then Exit Do |
Lr = .ListRows.Count |
