#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default CSV Files

I am having a problem with Excel removing any leading zeros when I open
values from a CSV file.

The file contains the leading zeros when I open it in notepad, but when I do
so in Excel these are removed. What can I do so I can open the CSV file in
Excel but still have the leading zeros?

Paul Smith


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default CSV Files

Open it as text file and use the text parsing options, you will need to
change the file extension to .txt otherwise Excel will override you text
import options.

"Paul W Smith" wrote in message
...
I am having a problem with Excel removing any leading zeros when I open
values from a CSV file.

The file contains the leading zeros when I open it in notepad, but when I

do
so in Excel these are removed. What can I do so I can open the CSV file

in
Excel but still have the leading zeros?

Paul Smith






----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default CSV Files


You'll have to import it as a TEXT field.

In order to ensure you'll get the text to column wizard
you'll need to rename the .CSV file to .TXT prior to opening.

Else
download the excellent free "asap utilities" from www.asaputilities.com
among it's many features it has proper CSV conversion options.


keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


"Paul W Smith" wrote:

I am having a problem with Excel removing any leading zeros when I
open values from a CSV file.

The file contains the leading zeros when I open it in notepad, but
when I do so in Excel these are removed. What can I do so I can open
the CSV file in Excel but still have the leading zeros?

Paul Smith




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
Navigating to Excel files over network slow, but not Word files Newbie123 Excel Discussion (Misc queries) 1 December 2nd 09 01:18 PM
How can I batch convert 97-2003 .xls files to 2007 .xlsx files Dave Nuttall Excel Discussion (Misc queries) 4 August 3rd 09 11:38 PM
Excel 2007 tmp files filling up drive with XLSM files Jim Excel Worksheet Functions 0 September 12th 08 03:31 PM
How to change default Open/Files of Type to "Microsoft Excel Files Tammy Excel Discussion (Misc queries) 2 January 14th 08 11:06 PM
converter tool to convert XL 2007 files to XL 2003 files Dave F Excel Discussion (Misc queries) 6 December 15th 06 12:45 AM


All times are GMT +1. The time now is 05:19 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"