I'm importing a CSV file that contains a 20-or-so digit number (for example 12345678901234567890123). Since Excel only supports 15 digits in each cell, importing the data as number yelds something like 123456789012345000000, which is not correct. When importing as string it automatically takes the exponential form - something like 1.23456E+23, which is also not correct and hard (if not impossible) to transform to the original form. So far, I've tried wrapping the number in double quotes in the CSV file in conjunction with the xlTextQualifierDoubleQuote flag and using .NumberFormat ="0" but both solutions did not work. At this point, I'm so tired of Excel assuming the cell value type and I just want everything to be in text format. Is this somehow possible?
EDIT: I'm using [worksheet].QueryTables.Add to import the CSV (that's what the xlTextQualifierDoubleQuote flag is associated to)