Leading zeros stripped

M

Mike Wallace

I have a csv file that I open with Excel. One of the
columns has leading zeros (i.e. 000999) and always imports
as "999" in Excel. How do I keep the leading zeros when
opening with Excel?

Thanks
 
G

Guest

Hi Mike

You need to specify that the column is a Text column and not General

Regard
Tony
 
D

Dave Peterson

You could rename your .csv file to .txt and then you can specify each field (as
Text).

Or you could just apply a custom format after you import: 000000
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top