Gurus,
If I want to write an if statement which logic goes like this: if A or B then ...
B consists of say a=1 and b = 2.
So the statement looks like this:
If x=1 or a=2 and b =3 then
how do I write it in VBA. It seems like the above statement is ambiguous. It can be read as x or (a and b) or (x or a) and b.
If I want to write an if statement which logic goes like this: if A or B then ...
B consists of say a=1 and b = 2.
So the statement looks like this:
If x=1 or a=2 and b =3 then
how do I write it in VBA. It seems like the above statement is ambiguous. It can be read as x or (a and b) or (x or a) and b.