Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Stop automatically removing leading zeros?

Our database has a report that pulls information into an Excel file, which I
then open. When I open the file, Excel automatically removes the leading
zeros, but I need those leading zeros. There are different numbers of leading
zeros for each line, so I can't just automatically add a zero to each one or
something like that. I don't have access to the report to change how it puts
the data in, so I really need a way to tell Excel to NOT auto "correct" this.
How can I do this? For the record, I'm using Excel 2002.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Stop automatically removing leading zeros?

Import the field as text, that's the only way.

--


Regards,


Peo Sjoblom

"Jessica P" wrote in message
...
Our database has a report that pulls information into an Excel file, which
I
then open. When I open the file, Excel automatically removes the leading
zeros, but I need those leading zeros. There are different numbers of
leading
zeros for each line, so I can't just automatically add a zero to each one
or
something like that. I don't have access to the report to change how it
puts
the data in, so I really need a way to tell Excel to NOT auto "correct"
this.
How can I do this? For the record, I'm using Excel 2002.

Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Stop automatically removing leading zeros?

But I'm not importing it- I'm essentially opening a preexisting spreadsheet.
And Excel just takes it upon itself to make changes that I don't want. Surely
there is some option somewhere to tell it not to automatically change things?

"Peo Sjoblom" wrote:

Import the field as text, that's the only way.

--


Regards,


Peo Sjoblom

"Jessica P" wrote in message
...
Our database has a report that pulls information into an Excel file, which
I
then open. When I open the file, Excel automatically removes the leading
zeros, but I need those leading zeros. There are different numbers of
leading
zeros for each line, so I can't just automatically add a zero to each one
or
something like that. I don't have access to the report to change how it
puts
the data in, so I really need a way to tell Excel to NOT auto "correct"
this.
How can I do this? For the record, I'm using Excel 2002.

Thanks!




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
How do you stop excel removing the leading zeros in a cell? ck2007 Excel Discussion (Misc queries) 2 May 25th 07 06:16 PM
Stop Excel from stripping out leading zeros when saving as CSV MattM Excel Discussion (Misc queries) 4 June 26th 06 11:35 AM
Removing leading zeros from a group of numbers MAC253 Excel Discussion (Misc queries) 3 June 14th 06 09:49 PM
removing leading zeros in numeric fields dingy101 Excel Discussion (Misc queries) 3 November 21st 05 03:46 AM
How do I stop excel removing zeros? tomcat Excel Discussion (Misc queries) 2 January 21st 05 05:40 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"