Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In my macro I use the following line and it is working (vac is string
variable) If Cells(i, "A").Value = vac And Cells(i, "b") = "EQ" Then My macro needs another "OR" condition also, for that i am using If Cells(i, "A").Value = vac And Cells(i, "b") = "EQ" or "BE" Then but it results in type mismatch error. How to combine "and" and "or" conditions? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Operators/if etc | Excel Programming | |||
Where are Bitwise Operators | Excel Worksheet Functions | |||
greater than but less than operators for VBA | Excel Programming | |||
Operators With Times | Excel Discussion (Misc queries) | |||
Unary operators | Excel Worksheet Functions |