Okay I have 9 variables ca1,ca2,ca3,cb,cb2,cb3,cc1,c2,cc3 now that through each holds either "Pone" or "ptwo" I have alot of if and then if and then if ...... I was wondering if ther was an and command example:
If a = b and b = c and c =a then
Msgbox "Moo"
End If
instead of
if a = b then
if .......
And is there any to set something like this up:
if ca1 through ca3 = "Pone"
.....
Thanks,
I'm aware that there is an command called Xand I think, but I 'm not sure.
Thanks for anyhelp.
If a = b and b = c and c =a then
Msgbox "Moo"
End If
instead of
if a = b then
if .......
And is there any to set something like this up:
if ca1 through ca3 = "Pone"
.....
Thanks,
I'm aware that there is an command called Xand I think, but I 'm not sure.
Thanks for anyhelp.