Numeric overflow
In defining a constant with the Const statement, you specified a numeric value that is too large for the specified or default data type:
- The value is too large for the data type specified by the value's suffix character.
- If no suffix character is specified, the value is too large for a Double.
For example:
Const X = 100000% ' Illegal because the value is too large for ' the data type Integer
Const Y = 100000! ' Legal
Change the suffix character to match the magnitude of the value, or specify a smaller value.