mercredi 25 mars 2015

Multy If Not Statment VB


If x = y And Not (z(0) = w(0) And z(1) = w(1) And z(2) = w(2)) then .....


I want to test if x = y and z(0) is not equal to w(0) and z(1) is not equal to w(0) and z(2) is not equal to w(2). Basicly if x=y and any of the rest is not equal to the other it should do the code in the if-statement


Will one And Not (....) work ?


Let me know if you have alternative solutions or if this will work thanks for the help


Aucun commentaire:

Enregistrer un commentaire