I am trying to set an integer value as such:
Dim intID as integer
intID = x * 10000
This works ok when x is 3 or less. But when x is 4, this gives me the error:
run-time error 6 Overflow
I don't understand why this is. I can set intID to 40000 directly without any problems, so it's obviously capable of storing large numbers.

