Date problem when opening a csv without dates

M

Mila

I have got CSV file where some values look like date but they aren't.
The value is stuff number e.g. "1.05" and I don't want convert it into "1.V"
How to disable automatic conversion when CSV is open by double click?

I use excel 2003 or 2007
Thanks
 
P

Pete_UK

If you rename the file to .txt instead of .csv then start Excel and
use File | Open, then Excel will automatically start the Text Import
Wizard. In the 3rd panel of this you can specify which fields you want
to import as text, so that Excel will not change them - good for
preserving leading zeros as well as avoiding conversions to dates.

Hope this helps.

Pete
 
M

Mila

It is usable but ...

Does not exist other way how to disable undesirable helper?
We use the CSV because it is associated to Excel on Windows.
TXT is associated with Notepad And double click is faster than the Wizard.

Thanks
Míla

Pete_UK píše:
 
D

David Biddulph

Agreed that double click is faster. In your case you have a choice between
fast and correct.
 
P

Pete_UK

I think if you associate TXT with Excel (I've not tried it, but I have
with other pure text files) then when you double-click it all the data
will appear in one column, so you then have to use Data | Text-to-
columns to parse it (so it's no quicker).

Pete
 
B

Bob I

Yep, Excel 2003 does that, maybe I'm confusing it with Excel 97 actions?
OP can ignore me.
 
M

Mila

Pete,
How to quickly select all column and define as a Text in the Text Import
Wizard.
I need see all column without any modification in Excell.

Thanks
Mila
 
P

Pete_UK

In the 3rd panel of the Wizard you can select each column in turn (it
highlights) and then select the column type from the list on the right
- it defaults to General (which is fine for numbers and "normal"
text), but you can also choose Text and Date formats (or you can
choose to skip the column). I don't think you can choose more than one
column at a time.

If you want to speed things up you can record a macro while you import
the data once so that it will have all those settings, and then re-use
the macro for subsequent imports. If you plan it carefully, you can
have the macro in a master file (which never gets changed) and this
opens the file and parses it how you would like it to be.

Hope this helps.

Pete
 

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