samuel.nunn
New Member
- Joined
- Feb 22, 2009
- Messages
- 20
I'm trying to run a Macro only if it can NOT find a single cell in a given RANGE with the same text as another particular cell. Here is the code I've come up with, but it's not working right. It's skipping directly to "End If" even when I know for a fact that no cell in the range contains the text in C1.
Thanks,
Sam
Code:
If Cells.Range("L1:IV1").Text <> Range("C1").Text Then
'My code here
End If
Sam