Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Eyal Shwartzman
 
Posts: n/a
Default Problem opening csv files with hexadecimal values

Hello,

I'm using excel 2003 and i'm having problem with csv file that contains
values such as 123e4 since excel interpets it as 123*10^4. Is there any way
that I can write this number so excel will leave it as a string ?

I'm aware of the article
http://www.kbalertz.com/Q66033/Hexad....Imported.aspx
but the solution propose there to use the wizard is clumsy. I want to double
click on csv file and get the string.

Thanks, Eyal
  #2   Report Post  
Posted to microsoft.public.excel.misc
Pete
 
Posts: n/a
Default Problem opening csv files with hexadecimal values

Change the file extension from .csv to .txt then in Excel use File |
Open (file type = All files) and select the .txt file. This will
automatically take you into the Data Inport Wizard, and on the 3rd
panel of this you can specify the data types that you want each column
of data to be treated as, so you can set Text for this column.

Hope this helps.

Pete

  #3   Report Post  
Posted to microsoft.public.excel.misc
Pete
 
Posts: n/a
Default Problem opening csv files with hexadecimal values

You can record a macro while you do the import once, then apply this to
future imports.

Pete

  #4   Report Post  
Posted to microsoft.public.excel.misc
Eyal Shwartzman
 
Posts: n/a
Default Problem opening csv files with hexadecimal values

Thanks for the answer, but I was looking for something more simple than a
macro, maybe a certain type of way to print to the csv file.

"Pete" wrote:

You can record a macro while you do the import once, then apply this to
future imports.

Pete


  #5   Report Post  
Posted to microsoft.public.excel.misc
Pete
 
Posts: n/a
Default Problem opening csv files with hexadecimal values

You can set up your macro when you record it so that it can be run in
future with a combination key press (eg CTRL-SHIFT-G). Next time you
want to import data you will just repeat this key combination and away
it goes ...

Pete

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
Chart problem: values in column A don't show as labels on x-axis digicat Excel Discussion (Misc queries) 1 January 9th 06 07:08 PM
Problem opening excel files from email DXC001 Excel Discussion (Misc queries) 1 October 3rd 05 07:56 PM
Problem With Opening Embedded Object After Turning On "Track Chang John A Excel Discussion (Misc queries) 0 August 3rd 05 05:02 PM
Problem opening an XML file in Excel - getting "ns1:macrosPresent" rprondeau Excel Discussion (Misc queries) 0 December 15th 04 03:39 PM
Slow opening files - possible cause and solutoin Bob Flanagan Excel Discussion (Misc queries) 0 November 29th 04 10:04 PM


All times are GMT +1. The time now is 08:07 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"