ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Date problem when opening a csv without dates (https://www.excelbanter.com/excel-discussion-misc-queries/191858-date-problem-when-opening-csv-without-dates.html)

Mila

Date problem when opening a csv without dates
 
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


Pete_UK

Date problem when opening a csv without dates
 
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

On Jun 19, 1:21*pm, Mila wrote:
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



Mila

Date problem when opening a csv without dates
 
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:

If you rename the file to .txt instead of .csv



David Biddulph[_2_]

Date problem when opening a csv without dates
 
Agreed that double click is faster. In your case you have a choice between
fast and correct.
--
David Biddulph

"Mila" wrote in message
...
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íse:

If you rename the file to .txt instead of .csv





Bob I

Date problem when opening a csv without dates
 
Then R-click the txt file and select open with, Excel or associate TXT
with Excel.

Mila wrote:
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:


If you rename the file to .txt instead of .csv





Pete_UK

Date problem when opening a csv without dates
 
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

On Jun 19, 3:01*pm, Bob I wrote:
Then R-click the txt file and select open with, Excel or associate TXT
with Excel.



Mila wrote:
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:


If you rename the file to .txt instead of .csv- Hide quoted text -


- Show quoted text -



Bob I

Date problem when opening a csv without dates
 
Yep, Excel 2003 does that, maybe I'm confusing it with Excel 97 actions?
OP can ignore me.

Pete_UK wrote:

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

On Jun 19, 3:01 pm, Bob I wrote:

Then R-click the txt file and select open with, Excel or associate TXT
with Excel.



Mila wrote:

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:


If you rename the file to .txt instead of .csv- Hide quoted text -


- Show quoted text -





Mila

Date problem when opening a csv without dates
 
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

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


On Jun 19, 1:21 pm, Mila wrote:
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





Pete_UK

Date problem when opening a csv without dates
 
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

On Jun 19, 4:24*pm, Mila wrote:
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



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
On Jun 19, 1:21 pm, Mila wrote:
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- Hide quoted text -


- Show quoted text -




All times are GMT +1. The time now is 08:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com