When I am debugging my code and stepping through each line, it works perfectly (everyhting outputs and calculates correctly) but when I run it all at once (in the Dev window or using a macro button) it says there is an overflow error. I have tried changing the variable type but it still won’t work.