Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm looking to right an if statment in VBA that accomplishes this;
IF var1 IN ("XXX", "YYY", "ZZZ") THEN DoThing1 ELSE DoThing2 Endif I tried it as above, and it didn't like the use of "IN" |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula to check against a list of valid values | Excel Worksheet Functions | |||
How do I check for values in a list in an if statement? | Excel Discussion (Misc queries) | |||
Check a user-input value against a list of values? | Excel Programming | |||
Check for list of 3 values (alpha) in a column | Excel Programming | |||
Check for list of 3 values (alpha) in a column | Excel Programming |