In the example below, getValue works with smaller long integers, but if a legitimate long integer gets to larger values, the program blows with a “Inadmissible value or data type.
Overflow.” error. Is there a function similar to getValue that works with any valid long integer? getLong seems to be associated with SQL.
dim x as long
oCell = oSheet.getCellByPosition(0,j)
x = oCell.getValue()