Argument '<argumentname>' must be in the range of -32768 to 65535

An argument's value falls outside the allowable range of -32,768 to 65,535.

To correct this error

  1. Ensure that the argument's value falls within the valid range.

  2. If the argument is supplied by a calculation, check the values the calculation processes.

See Also

Concepts

Passing Arguments by Value and by Reference

Parameter Passing Mechanism for Visual Basic 6.0 Users