melewie
Board Regular
- Joined
- Nov 21, 2008
- Messages
- 188
- Office Version
- 365
- Platform
- Windows
Hi all,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
<o></o>
I am trying to create and loop that will identify if a cell does not contain "MX". I have created several before to find if a cell does contain certain characters<o></o>
<o></o>
<o></o>
But I can’t seem to get does not contain to work.<o></o>
<o></o>
Any help would be great.<o></o>
<o></o>
Thanks<o></o>
<o></o>
I am trying to create and loop that will identify if a cell does not contain "MX". I have created several before to find if a cell does contain certain characters<o></o>
Code:
[/FONT][/COLOR]
[COLOR=black][FONT=Verdana]Cells(RowNo, 2).Value Like "*" & "MX" & "*" Then<o:p></o:p>[/FONT][/COLOR]
<o></o>
But I can’t seem to get does not contain to work.<o></o>
<o></o>
Any help would be great.<o></o>
<o></o>
Thanks<o></o>