fcrisafi posta quello che vorresti fare in vbscript che te lo traduco
quello che hai scritto tu
tradotto in vbscript ècodice:function check(){ if (camp1=='0'||camp2=='0'||camp3=='7'){ return true; } if (camp1=='0'||camp2=='2'||camp3=='1'){ return true; } }
se sono tutti OR possono stare nella stessa ifcodice:Function check() if camp1="0" OR camp2="0" OR camp3="7" then check=true end if if camp1="0" OR camp2="2" OR camp3="1" then check=true end if End Function