ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Leading zeros won't convert to csv file in Excel ver 6 SP2 (https://www.excelbanter.com/excel-discussion-misc-queries/108200-leading-zeros-wont-convert-csv-file-excel-ver-6-sp2.html)

Pedro

Leading zeros won't convert to csv file in Excel ver 6 SP2
 
After formating the numbers for leading zeros and saving as a csv file, the
leading zeros drop off. This process used to work fine for me and just quit
doing it.

Dave Peterson

Leading zeros won't convert to csv file in Excel ver 6 SP2
 
You sure that they're gone from the CSV file?

How about verifying by opening the CSV with NotePad.

But if you do open that CSV file in Excel, the leading 0's will be lost. But
it's the re-opening in excel that causes your problem--not the saving to the
CSV.



Pedro wrote:

After formating the numbers for leading zeros and saving as a csv file, the
leading zeros drop off. This process used to work fine for me and just quit
doing it.


--

Dave Peterson

Gary''s Student

Leading zeros won't convert to csv file in Excel ver 6 SP2
 
It does not matter if you had the leading zeros because the cell was formated
as text, or formatted as Custom 0000, or started with an apostrophe. After
saving as .csv the zeros should still be there.

Verify this by opening the .csv file with Notepad.

Its when you re-open the file with Excel that the leading zeros get dropped.
--
Gary's Student


"Pedro" wrote:

After formating the numbers for leading zeros and saving as a csv file, the
leading zeros drop off. This process used to work fine for me and just quit
doing it.



All times are GMT +1. The time now is 01:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com