Answer the question
In order to leave comments, you need to log in
How to make multiple conditions in one if in vbs?
I have several variables
apelsin = yes
mandarin = yes
jabloko = no
grusha = yes
How can I make such a check?: If at least one with variables = yes then display
MsgBox "Fruits found"
If all variables are = no then
skip code with MsgBox Suggested
this code
a = no
m = no
j = no
g = no
if a=yes or m=yes or j=yes or g=yes then
MsgBox "est frukti"
else
MsgBox "fruktov net"
End If
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question