unwanted csv date conversion

L

Lori Gordon

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
 
D

Dave Peterson

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top