I have a for loop :
Sub color2()
Dim N As Long
For N = 1 To 56
If Cells(N, 16).Interior.ColorIndex = 3 Then
MsgBox "Codes don't Exist "
End If
Next N
End Sub
this code gives me message box for every cell whic has color 3 (red)
i want just one message box, for all the cells in red
Sub color2()
Dim N As Long
For N = 1 To 56
If Cells(N, 16).Interior.ColorIndex = 3 Then
MsgBox "Codes don't Exist "
End If
Next N
End Sub
this code gives me message box for every cell whic has color 3 (red)
i want just one message box, for all the cells in red