0

I'm trying to export data from Excel, and one of the columns is populated with IDs that often look like large numbers. For example, one cell will contain : 100,200,300,330,430,500... I am trying to export this data into a string variable using VB.NET, but whenever the number is large enough, the value converts to scientific notation.

I've checked out the second solution at this link, but I'm hoping the code I'm already using can be tweaked instead of having to rewrite using OleDB.

The code I use for the problem cell is this:

importData.Predecessors = cellRange(1, CInt(fieldMapping.Predecessors)).Value
Community
  • 1
  • 1
user
  • 1,261
  • 2
  • 21
  • 43

0 Answers0