Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
tomcat
 
Posts: n/a
Default How do I stop excel removing zeros?

Hi,

I'm opening a .csv file directly from a web page that has customer data in
it for producing despatch labels for orders. Some American postcodes begin
with a zero, and excel removes any leading zeros resulting in an incorrect
postacode.

If anyone knows how to EITHER get Internet Explorer to open the .csv in
notepad, or stop excel removing the leading zero it would be appreciated.
  #2   Report Post  
Michael Malinsky
 
Posts: n/a
Default

Unfortunately, Excel is treating the zip code as a number and will
automatically drop any leading zeros. If you're strictly using this
information in Excel, then format the column using the Special format for
zip code (ToolsOptions, Number tab, Special, Zip Code). If you have an
earlier version, you may have to use the Custom format and enter 00000. If
you plan on exporting this data elsewhere, the leading zero will again be
dropped because you just changed the format, not the actual number.


"tomcat" wrote in message
...
Hi,

I'm opening a .csv file directly from a web page that has customer data in
it for producing despatch labels for orders. Some American postcodes begin
with a zero, and excel removes any leading zeros resulting in an incorrect
postacode.

If anyone knows how to EITHER get Internet Explorer to open the .csv in
notepad, or stop excel removing the leading zero it would be appreciated.



  #3   Report Post  
Greg
 
Posts: n/a
Default


-----Original Message-----
Hi,

I'm opening a .csv file directly from a web page that has

customer data in
it for producing despatch labels for orders. Some

American postcodes begin
with a zero, and excel removes any leading zeros

resulting in an incorrect
postacode.

If anyone knows how to EITHER get Internet Explorer to

open the .csv in
notepad, or stop excel removing the leading zero it would

be appreciated.
.

Format, Cells, Number, Text
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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Excel converts Mapped drive to UNC - How to stop? Fred Links and Linking in Excel 1 January 20th 05 12:24 AM
Stop Excel from converting text labels in CSV files to Values Just Want a Label! Excel Discussion (Misc queries) 1 January 11th 05 04:51 PM
How can I stop Excel from displaying rounded numbers? Credit car. OldManP Excel Discussion (Misc queries) 3 December 8th 04 07:52 PM
Removing single quote from an excel sheet Hari Excel Discussion (Misc queries) 2 December 3rd 04 09:53 PM


All times are GMT +1. The time now is 01:41 PM.

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"