I'm writing a routine which requires the handling of large numbers.

I've declared all my variables as Variant and I use CDec where required.

However, I get an Overflow Error (6) when I use the MOD operator.It seems to be restricted to Long data-types.


Is there an equivalent I can use, or am i using it incorrectly?

Thanks,



Jim