Hi the follwing piece of code finds the left three chars of cell h116 in rng m44:m75 and clears contents of the cell. I would like to modify it so that it checks for a range of different characters i.e in H116:H147 (what i thought was the obvious did not work);-
Thanks
Rich (BB code):
With ActiveSheet
For Each cell In .Range("M44:M75")
If Left(cell.Value, 3) = .Range("H116:147").Value Then
cell.ClearContents
cell.Interior.ColorIndex = xlNone
End If
Next
End With
Thanks