Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

In Equivalent 1

Status
Not open for further replies.

rossmcl

Programmer
Apr 18, 2000
128
If I want to do<br><br>if x in (3,4) then<br>blah<br>Else <br>blah<br>End If<br><br>What is the syntax for in (or do I have to do <br>else if's?<br><br>Apologies, I am used to the syntax in VBA!<br><br>It is apparently different.<br><br>Thanks<br>Ross
 
You could try doing something like<br>a = &quot;,1,3,5,7,9,&quot;<br>if instr(a,&quot;,&quot; & x & &quot;,&quot;) then <p>nick bulka<br><a href=mailto: > </a><br><a href= > </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top