View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default text string: "91E10" in csv file auto converts to: "9.10E+11"

You could try importing the data via:
Data|get external data

And you'd be able to specify the type for each field--use text for these.

Or you could rename the .csv file to .txt
then use File|Open to open the .txt file.

Then you would see that same wizard.

wrote:

91E10, and similar, are Military PMOS codes (job codes). When the comma
delimited csv file is read in, Excel automatically converts any string
containing "E" into what appears to be exponential notation. In the csv file
the string is delimited as ,"91E10", between other data fields. The file is
opened by clicking on the csv file without Excel running, after which Excel's
file association type loads the csv file in, during which it converts all
strings containing a capital "E". How do I disable this undocumented feature?


--

Dave Peterson