VBA I think, will try to use the smallest datatype possible, based on the numbers provided. Here that would be integer, where the result of the operation would overflow. Explicitly casting at least one of them to a larger datatype, should normally work.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.