Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I guess this version will work properly even if there is no character
following the 'traf10' characters... If Cell2Srch.Value & " " Like "*traf10[!6]*" Then -- Rick (MVP - Excel) "Rick Rothstein" wrote in message ... This should do the same thing PROVIDED there is always at least one character following the 'traf10' characters... If Cell2Srch.Value Like "*traf10[!6]*" Then -- Rick (MVP - Excel) "TomPl" wrote in message ... I think the wild cards would make it look like this: If Cell2Srch.Value Like "*traf10*" And Not Cell2Srch.Value Like "*traf106*" Then Cells(Cell2Srch.Row, 1).Value = "Yes" End If Tom |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using Or and And Operators | Excel Programming | |||
combining operators | Excel Programming | |||
Operators/if etc | Excel Programming | |||
Comparison Operators | Excel Programming | |||
Unary operators | Excel Worksheet Functions |