The data being processed is over the allowed limit.
is this similar to the error you see?
if so try looking here
http://www.pstruh.cz/tips/detpg_largepost.htm
The maximum value allowed for the CInt function is 32768, so your value of 37216 exceeds the maximum value which can be converted to an integer with the CInt function. If you have integers with values greater than 32768, use the CLng function, which converts the value to long integer.