A run-time error is a statement that is correct syntactically, but its execution is impossible. The most obvious example is as follows:
While this assignment statement looks fine, what if the value of variable y is zero when the statement executes?
VB generates a run-time error in this case. It complains about “Run-time error 11”, and explains that it is “Division by zero.”