Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Lori Gordon
 
Posts: n/a
Default unwanted csv date conversion

I have a CSV file with the following information:
"Co","Profile","Profile Name"
"003","MAR4","MARK ROGERS - District or Corp Accountant"
"004","MAR4","MARK ROGERS - District or Corp Accountant"

Excel is automatically converting my TEXT MAR4 field to 4-Mar (3/4/2005).
The only way I can find to avoid the incorrect conversion, is to change the
extension to *.txt, then Import it, and on that column, change it from the
default type of "General" to "Text".

Is there some setting somewhere I can change so that it stops doing this
automatically?

Thank you,

Lori Gordon


  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

That seems like a reasonable solution to me.

If you have to do this lots of times (and the data is always laid out the same
way), maybe you could record a macro when you open the .txt file with the
settings you like.

Then just rerun that macro (after changing the .csv name to .txt) when you need
to import the data again.

Lori Gordon wrote:

I have a CSV file with the following information:
"Co","Profile","Profile Name"
"003","MAR4","MARK ROGERS - District or Corp Accountant"
"004","MAR4","MARK ROGERS - District or Corp Accountant"

Excel is automatically converting my TEXT MAR4 field to 4-Mar (3/4/2005).
The only way I can find to avoid the incorrect conversion, is to change the
extension to *.txt, then Import it, and on that column, change it from the
default type of "General" to "Text".

Is there some setting somewhere I can change so that it stops doing this
automatically?

Thank you,

Lori Gordon


--

Dave Peterson
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
NETWORKDAYS - Multiple Date Selection Annabelle Excel Discussion (Misc queries) 3 October 4th 05 07:04 PM
Date Conversion JD McLeod Excel Worksheet Functions 1 June 17th 05 01:07 PM
Date conversion issue "^" symbol Shannon Excel Discussion (Misc queries) 1 May 4th 05 12:25 AM
Date Conversion jdmcleod Excel Discussion (Misc queries) 2 March 20th 05 12:12 AM
unwanted number to date conversion while pasting data from web Jacek Excel Worksheet Functions 1 February 24th 05 02:59 PM


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

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"