converting telephone numbers to csv format!

G

Guest

When converting telephone numbers from Excel to csv format it looses the
first 0. How do I stop this happening please...?
 
B

Bob Phillips

Precede the first 0 with a single quote '

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
D

David Biddulph

You may wish to check whether you've lost the zero during the conversion to
csv, or whether your problem is only if you try to read the data back from
the csv into Excel.

If the leading zero was visible in the original xls file from which you
produced the csv, then have a look at the csv with something like Notepad
and see if the zero is still there. If it is, and you want to read it back
into Excel without losing the formatting, rename the csv to txt and tell the
text import wizard to treat the columns as text, or otherwise impose the
text import wizard by importing your csv with Data/ Inport External Data,
rather than with File/ Open.
 
G

Guest

Spot on David - we had since discovered that the telephone nos added as text
were indeed hanging on to the zeros - it was the fact that we were looking at
the .csv file in Excel that was misleading us! And yes, when we checked it in
NotePad the zeros were still there.
Thanks to both of you for the replies.
 

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