Hi,
I am running into a strange problem and I haven't been able to find a suitable solution to it. I have a macro which I am running a text-to-columns on a column filled names and ID's sandwiched together like this:
465E10^JONES, JOHN.
The text to columns work fine with the consistent ^ delimiter, but the problem with this specific instance, is that once the above string is split, excel treats it as scientific notation, and the cell value immediately turns into the number 4650000000000.
I have tried different things to work around this...basically everything in my application depends on this ID number, and if it does not format correctly then my subs will not work.
Is there anything I could do to work around this issue in VBA? This is the first instance of this happening out of hundreds of ID's, but I am sure it will come up again.
Thanks for your help.
Josh
I am running into a strange problem and I haven't been able to find a suitable solution to it. I have a macro which I am running a text-to-columns on a column filled names and ID's sandwiched together like this:
465E10^JONES, JOHN.
The text to columns work fine with the consistent ^ delimiter, but the problem with this specific instance, is that once the above string is split, excel treats it as scientific notation, and the cell value immediately turns into the number 4650000000000.
I have tried different things to work around this...basically everything in my application depends on this ID number, and if it does not format correctly then my subs will not work.
Is there anything I could do to work around this issue in VBA? This is the first instance of this happening out of hundreds of ID's, but I am sure it will come up again.
Thanks for your help.
Josh