View Single Post
Old 05-26-2021, 08:15 AM   #12
bwyant32
Major Leagues
 
bwyant32's Avatar
 
Join Date: Dec 2008
Location: Erie, PA
Posts: 310
I actually did some research on this error:

This error is caused by the VB Script function CInt, which gives an overflow error when using a number that is greater than its range. CInt only has a range between the integers -32,768 to 32,767. If a number is passed to this function that is out of the range, this error will be displayed.

As a workaround to the limitation of CInt, use the VBScript CLng function which has a range of -2,147,483,648 to 2,147,483,647. This will give a wider data type range to work with.
__________________
Commish - Federal Sim League
bwyant32 is offline   Reply With Quote