J
John Persico
Why is is that if I have a tab-deliminated file or csv file that I open in
excel the following happens:
If the field has twelve digits (a UPC code) -- say 068888701648 -- that when
it gets into the Excel spreadsheet is drops the front zero and calls it a
number.
I don't want that to happen.
Also when I export to a csv file I want the field to be a text field --
"068888701648" -- as opposed to a number.
This is the reason. What I've been doing up to this point is creating a
custom format -- 000000000000 -- twelve digits. Most UPC codes have a zero
at the beginning. So this forced my field to put create a 12 digit number
whenever Excel only wanted to make it 11 digits, because of the zero up
front.
And, when I write a CSV file out, sure enough the field shows up properly
when I load it into a text editor -- ...,068888701648,...
But, now I've discovered that my shopping software ALSO takes off the front
zero when I load my products via CSV. So, the tech people have told me to
create a text field instead of a number field.
How can I make all this happen?
excel the following happens:
If the field has twelve digits (a UPC code) -- say 068888701648 -- that when
it gets into the Excel spreadsheet is drops the front zero and calls it a
number.
I don't want that to happen.
Also when I export to a csv file I want the field to be a text field --
"068888701648" -- as opposed to a number.
This is the reason. What I've been doing up to this point is creating a
custom format -- 000000000000 -- twelve digits. Most UPC codes have a zero
at the beginning. So this forced my field to put create a 12 digit number
whenever Excel only wanted to make it 11 digits, because of the zero up
front.
And, when I write a CSV file out, sure enough the field shows up properly
when I load it into a text editor -- ...,068888701648,...
But, now I've discovered that my shopping software ALSO takes off the front
zero when I load my products via CSV. So, the tech people have told me to
create a text field instead of a number field.
How can I make all this happen?