I split the formula in half and assigned the answer to two cells. I then
made MRRTo equal to the product of those two cells. This works just fine.
I am uncertain why this resolved the overflow, though.
Also, do you see a better way for me to do what I am trying to do overall?
--
Thanks
Shawn
"keepITcool" wrote:
I disagree..
Overflow errors are typically generated in VBA when assigning
values to variables that dont have enough bits to hold the data.
e.g.
integer values to byte variables.
long values to integer variables.
most often this happens when you are "looping" row numbers
and use an integer variable..
once you get to row 32768 +1 the error will pop..
as an integer can only hold 16bit (2byte) data.
--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam
Nigel wrote :
The overflow is caused by the contents of the ranges / cells you
refer to. Assuming the code is logically correct it is impossible to
resolve your problem here. Check the logic and the math based on
cell contents if necessary do a manual calculation. If the condition
causing the overflow is likely to arise then you need some error
trapping and / or conditional logic to prevent the problem.