Hello guys i am trying to do a homework for calculating production costs and ideal stock numbers and costs so i did some functions at vba but i got overflow error so i found