VBA Loops

  • Thread starter Thread starter Chris
  • Start date Start date
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
 
Back
Top