conditional equations

C

Cas

How do I fashion an equation to test if any of three variables ar either>=180
or<=270?
 
P

PC Datasheet

If Var1 >= 180 and Var1 <= 270 Then
<Do Something>
ElseIf Var2 >= 180 and Var2 <= 270 Then
<Do Something>
ElseIf Var3 >= 180 and Var3 <= 270 Then
<Do Something>
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top