sharky12345
Well-known Member
- Joined
- Aug 5, 2010
- Messages
- 3,421
- Office Version
- 2016
- Platform
- Windows
I'm using this to find cells that contain part of a string;
the relevant part being "(V)".....but now I want to reverse it by searching for cells that do not contain that, I've tried the following but it doesn't work;
Can anyone advise please?
Code:
If cell.Value = "*(V)*" Then
the relevant part being "(V)".....but now I want to reverse it by searching for cells that do not contain that, I've tried the following but it doesn't work;
Code:
If cell.Value <> "*(V)*" Then
Can anyone advise please?