Converting Long Number to String

Hi. I’m using a for each row loop to read a cell in Excel that has a number that’s 18-digits long.

ID is my variable as a string.

ID = row.item(7).tostring

How do I convert this to an integer so that it doesn’t display as a hex number?

Thanks!

Convert.ToInt64(row(7).ToString)

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.