PC Review


Reply
Thread Tools Rate Thread

CSV file dropping lead zeros

 
 
tshad
Guest
Posts: n/a
 
      20th Sep 2005
I have a CSV/Txt file that I am opening and I tell it that it is tab
delimited.

I find that my first columns, that have numbers in them, are dropping the
leading 0's. I don't want that. I need the leading zeros.

How do I tell excel not to do this?

Thanks,

Tom


 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      20th Sep 2005
Use NotePad to look at your .csv file.

I bet the leading 0's are lost when you re-import into excel.

If you have to reimport into excel, you can rename the .csv file to .txt. Then
when you open the text file, you'll see the data|text to columns wizard. You
can specify the format of each field--including Text for those fields that have
to have the leading 0's.


tshad wrote:
>
> I have a CSV/Txt file that I am opening and I tell it that it is tab
> delimited.
>
> I find that my first columns, that have numbers in them, are dropping the
> leading 0's. I don't want that. I need the leading zeros.
>
> How do I tell excel not to do this?
>
> Thanks,
>
> Tom


--

Dave Peterson
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Keeping lead zeros in excel text format when saving as CSV file Richard James Microsoft Excel Worksheet Functions 1 31st Mar 2008 11:30 AM
Re: lead zeros appearing in export wizard not notepad text file Jeff Boyce Microsoft Access Getting Started 2 18th Jan 2007 06:12 AM
Re: lead zeros appearing in export wizard not notepad text file John Spencer Microsoft Access Getting Started 0 15th Jan 2007 05:49 PM
Keep Lead Zeros =?Utf-8?B?TGF1cnk=?= Microsoft Excel Misc 6 13th Apr 2006 04:28 PM
Excel file saved as csv - dropping zeros =?Utf-8?B?S2F0aHk=?= Microsoft Excel Misc 3 18th Feb 2005 07:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:11 AM.