Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Setup / October 2005

Tip: Looking for answers? Try searching our database.

zero suppression on opening .xls file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
don - 26 Oct 2005 15:11 GMT
If  I create a tab delimited file  as .xls , when I click on the file to open
it exel automatically suppresse the leading zeros on numeric fields. If i
invoke excel first and then open the file it allows me to specify the  
numeric fields as 'text' and doesn't suppress the zero's. If i save the file
and then doulble click on the file to open it ,everything is ok.  What do I
have to do so that excel will open the the tab delimited file the first time
and not suppres the leading zero's?
Signature

Don

Dave Peterson - 26 Oct 2005 15:52 GMT
If you really save the file as a normal workbook with a .xls extension, then
excel knows how to treat each field--it's saved the formatting, the values,
everything.

If you save a text file with a .xls extension, then excel will only have the
values.  And there is no difference between 0000123 and 123.  So excel just
displays the value in a General format.

If you want to keep the 0's, you can either File|open the text file and go
through the data import wizard or you can apply a custom format after you import
your data.

> If  I create a tab delimited file  as .xls , when I click on the file to open
> it exel automatically suppresse the leading zeros on numeric fields. If i
[quoted text clipped - 5 lines]
> --
> Don

Signature

Dave Peterson


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.