I made the scale of RndM larger: see anhn's PRNG thread. It seems to also solve the problem reported by achilleshbc in post #19. Since my strength is more in problem solving than math I don't know the maximum set of numbers generated by the updated function. It uses the Decimal subtype of Variant instead of Double. This will greatly slow the function down, but that is the cost of breaking the limitations.