Question : runtime error 6 overflow error - vba excel program

Hello experts,

I am stuck on an error (runtime error 6 - overflow) and hoping for some insight.   This is a VBA program running in Excel.

Please see the screenshot attached.    The error occurs when I try to assign a value retrieve from a spreadsheet to an array that was declared as a Long data type.
 - Dim GLArray() As Long

If you have any questions or if further clarification is needed, please let me know.

Answer : runtime error 6 overflow error - vba excel program

Kevin,
if there is a decimal in the Cell, that is less than 2,147,483,647, would it still cause an Overflow (on the Decimal Part)?
Random Solutions  
 
programming4us programming4us