Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBA code for IF statement with OR?
I would like to know how to do an If statement in VBA which is the similar
to using OR in excel functions. eg. I would like to do something like If Var1 = 23 or 34 then Var = "Hello" end if any help is appreciated, thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Help Identifying code statement | Excel Discussion (Misc queries) | |||
If statement to replace #VALUE! code | Excel Worksheet Functions | |||
Worksheet code if-color-statement | Excel Programming | |||
Code doesn't go past first IF statement | Excel Programming | |||
Simple code error statement | Excel Programming |