Hi,
Could anone please help me with the VBA code for a "Not Like" comparison ?
I get an error when I try to use the "Not Like" comparison
If I use <> "CLOSED" And <> "CLOSE" And <> "CLOSING" then it all runs OK, however I would prefer to get something similar to a "Not Like" operator to work with a wildcard such as *
Thx & Rgds
moonos
Could anone please help me with the VBA code for a "Not Like" comparison ?
I get an error when I try to use the "Not Like" comparison
Code:
If Range("A" & i).Value Not Like "CLOS*" Then
If I use <> "CLOSED" And <> "CLOSE" And <> "CLOSING" then it all runs OK, however I would prefer to get something similar to a "Not Like" operator to work with a wildcard such as *
Thx & Rgds
moonos