[COLOR="Blue"]Sub[/COLOR] FindCells()
[COLOR="Blue"]Dim[/COLOR] rng [COLOR="Blue"]As[/COLOR] Range, sFirstAddress [COLOR="Blue"]As[/COLOR] [COLOR="Blue"]String[/COLOR]
[COLOR="Blue"]With[/COLOR] Sheets("Sheet1").Cells
[COLOR="Blue"]Set[/COLOR] rng = .Find(2, LookIn:=xlValues)
[COLOR="Blue"]If[/COLOR] [COLOR="Blue"]Not[/COLOR] rng [COLOR="Blue"]Is[/COLOR] [COLOR="Blue"]Nothing[/COLOR] [COLOR="Blue"]Then[/COLOR]
sFirstAddress = rng.Address
[COLOR="Blue"]Do[/COLOR]
MsgBox rng.Value
[COLOR="Blue"]Set[/COLOR] rng = .FindNext(rng)
[COLOR="Blue"]Loop[/COLOR] [COLOR="Blue"]While[/COLOR] [COLOR="Blue"]Not[/COLOR] rng [COLOR="Blue"]Is[/COLOR] [COLOR="Blue"]Nothing[/COLOR] [COLOR="Blue"]And[/COLOR] rng.Address <> sFirstAddress
[COLOR="Blue"]End[/COLOR] [COLOR="Blue"]If[/COLOR]
[COLOR="Blue"]End[/COLOR] [COLOR="Blue"]With[/COLOR]
[COLOR="Blue"]End[/COLOR] [COLOR="Blue"]Sub[/COLOR]