PC Review


Reply
Thread Tools Rate Thread

converting telephone numbers to csv format!

 
 
=?Utf-8?B?UmViZWNjYSBQb3R0ZXI=?=
Guest
Posts: n/a
 
      22nd Aug 2007
When converting telephone numbers from Excel to csv format it looses the
first 0. How do I stop this happening please...?
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      22nd Aug 2007
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)

"Rebecca Potter" <(E-Mail Removed)> wrote in message
news:735E6796-A556-4EE3-B788-(E-Mail Removed)...
> When converting telephone numbers from Excel to csv format it looses the
> first 0. How do I stop this happening please...?



 
Reply With Quote
 
David Biddulph
Guest
Posts: n/a
 
      22nd Aug 2007
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.
--
David Biddulph

"Rebecca Potter" <(E-Mail Removed)> wrote in message
news:735E6796-A556-4EE3-B788-(E-Mail Removed)...
> When converting telephone numbers from Excel to csv format it looses the
> first 0. How do I stop this happening please...?



 
Reply With Quote
 
=?Utf-8?B?UmViZWNjYSBQb3R0ZXI=?=
Guest
Posts: n/a
 
      22nd Aug 2007
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.

"David Biddulph" wrote:

> 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.
> --
> David Biddulph
>
> "Rebecca Potter" <(E-Mail Removed)> wrote in message
> news:735E6796-A556-4EE3-B788-(E-Mail Removed)...
> > When converting telephone numbers from Excel to csv format it looses the
> > first 0. How do I stop this happening please...?

>
>
>

 
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
Format Telephone Numbers JCO Microsoft Excel Programming 8 19th Nov 2010 08:29 PM
How do I set the default format for 10-digit telephone numbers? Rich Microsoft Outlook Contacts 1 25th Sep 2009 08:30 PM
Can I format telephone numbers? SouthAfricanStan Microsoft Excel Worksheet Functions 3 24th Aug 2006 08:14 PM
how do i format telephone numbers =?Utf-8?B?Vmlu?= Microsoft Excel Misc 1 30th May 2005 02:46 AM
format telephone numbers sue Microsoft Outlook Contacts 3 3rd Sep 2004 05:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:42 AM.