I'm searching for a constant like MAXINT in c, for VBA code. I found references only in other languages, and cannot find one for VBA.
If there is no such constant what is the maximum number an int in VBA can hold? I tried 2147483647 but got an overflow error.
Long
, it's2^31 - 1 = 2147483647
. AFAIK, there are no constants for that. – Retarder