Hi
I would like to know how can i check for a rabge of cells that contain something in a if function. This is the code i tried but does not seem to work?
If i use it with single cell and not a range it works 100%
I would like to know how can i check for a rabge of cells that contain something in a if function. This is the code i tried but does not seem to work?
If i use it with single cell and not a range it works 100%
Code:
If Range("C5").Value < Range("A2").Value Then
If Range("K5:K11") = "" Then
MsgBox "Werk"
End If
End If