I think I know the answer, but just to be sure..
.. why does this IIf statement crash?
At face value, since bb = 0, it should setCode:aa = 0 bb = 0 cc = IIf(bb = 0, "n/a", aa / bb)
cc to "n/a", right?
Instead, it crashes, "Run-time error '6' -- Overflow"
(ie, trying to divide by 0)
Spoo




Reply With Quote