Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Joe
 
Posts: n/a
Default Loosing Leading zeros in CSV file

Hello

How do i stop a CSV file loosing leading zeros.

when the file is in excel format it is exactly how i want it, but to import
it into another program i need to save it as a csv file and it is then that i
loose the leading zeros

has any body got any ideas

--
Cheers
  #2   Report Post  
Posted to microsoft.public.excel.misc
Niek Otten
 
Posts: n/a
Default Loosing Leading zeros in CSV file

Instead of exporting a number, export "=TEXT(YourNumber,"00000000")" or as
many "0"s as you need

--
Kind regards,

Niek Otten

"Joe" wrote in message
...
Hello

How do i stop a CSV file loosing leading zeros.

when the file is in excel format it is exactly how i want it, but to
import
it into another program i need to save it as a csv file and it is then
that i
loose the leading zeros

has any body got any ideas

--
Cheers



  #3   Report Post  
Posted to microsoft.public.excel.misc
Arien
 
Posts: n/a
Default Loosing Leading zeros in CSV file


You could also Format the cell (CTRL+1) | Number | Custom and type
000000000 in stead of Standard.
That would do the job.

regards,
Arien


--
Arien
------------------------------------------------------------------------
Arien's Profile: http://www.excelforum.com/member.php...fo&userid=1892
View this thread: http://www.excelforum.com/showthread...hreadid=497506

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Format a cell to keep leading zeros. Shadyhosta New Users to Excel 5 July 27th 05 04:37 PM
How to suppress leading zeros in Excel Jay Excel Discussion (Misc queries) 2 July 27th 05 01:07 AM
save text field w/ leading zeros in .csv format & not lose zeros? Ques Excel Discussion (Misc queries) 1 May 4th 05 06:21 PM
Leading zeros JC Excel Discussion (Misc queries) 9 February 1st 05 02:33 PM
How do I retain leading zero zip code formatting when saving as a. RodFCIS Excel Discussion (Misc queries) 7 January 25th 05 07:29 PM


All times are GMT +1. The time now is 10:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"