Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks. That's what I need.
On Fri, 18 Jul 2003 23:18:57 +0100, Mike NG wrote: On Fri, 18 Jul 2003 at 02:50:55, dchow (dchow ) wrote: WHERE (InStr(TaxID, ""PST"") < 0) If I changed it to WHERE (Right(TaxID, 3) = ""PST"") Change your SQL to WHERE TaxId LIKE '%PST%' Well that's what standard SQL is anyway. If that doesn't work, then it may be * instead of % - I say this because the Like keyword in an If statements expects * e.g. If TaxId like '*PST*' Then |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Use InStr function in formula? | Excel Worksheet Functions | |||
is there an equal fxn for 'InStr' in excel. Not Find or Search | Excel Worksheet Functions | |||
Excel 2007 / MS Query - editing existing query to another sheet | Excel Discussion (Misc queries) | |||
Help with VBA InStr() function | Excel Discussion (Misc queries) | |||
Where is the Instr() function in Excel 2003? | Excel Discussion (Misc queries) |