VBA Loops

J

JulieD

Hi Chris

something along the lines of

Sub testloop()
For Each cell In Range("A1:A10")
If UCase(cell.Value) <> "OK" Then
MsgBox cell.Address & " - not ok"
End If
Next
End Sub

Cheers
JuieD
 
Top