RANDARGNEG

RANDARGNEG, Random number generator argument must be greater than or equal to one

Run Time Error: This indicates that a $RANDOM function specified a zero or a negative argument.

Action: Look for the source of the argument. If you want to generate a 0 or 1 result, the argument should be 2 because a seed of 1 always produces the less-than-random result of 0.