This code gives me a "Type Mismatch Error".. any ideas?Code:<script language="Vbscript">
m = Val(Right("4-03-221-331", 3))
</script>
Printable View
This code gives me a "Type Mismatch Error".. any ideas?Code:<script language="Vbscript">
m = Val(Right("4-03-221-331", 3))
</script>
Yep,
Val is not supported in VBScript. Try cint(Right("4-03-221-331", 3))
Steve Flitcroft MCP
thanks :)