If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > csv file dropping leading zeros

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-01-06, 20:39
Dbgirl Dbgirl is offline
Registered User
 
Join Date: Jun 2004
Posts: 20
csv file dropping leading zeros

Hello Everyone.

I need to upload a csv file to another system however, when I save my excel spreadsheet as a csv file, it drops the leading zero. I have tried the following:

format cells as text
putting an apostrophe before each number

and none of the above worked.

Does anyone have any ideas? Unfortunately my file must be uploaded as csv.

Thanks!
Reply With Quote
  #2 (permalink)  
Old 02-07-06, 19:58
Fazza Fazza is offline
Registered User
 
Join Date: Feb 2006
Posts: 113
It may be no different from what you're already experiencing, but, what about using the TEXT function to create the leading zeros?

Such as, for 6 character entries,
=TEXT(reference,"000000")

regards,
Fazza
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On