Export (0) Print
Expand All
Expand Minimize

Visual Basic for Applications Reference

Visual Studio 6.0

Division by zero (Error 11)

Specifics

Division by zero isn't possible. This error has the following cause and solution:

  • The value of an expression being used as a divisor is zero.

    Check the spelling of variables in the expression. A misspelled variable name can implicitly create a numeric variable that is initialized to zero. Check previous operations on variables in the expression, especially those passed into the procedure as arguments from other procedures.

For additional information, select the item in question and press F1.

Show:
© 2014 Microsoft