Formatierung bei Datenimport via ODBC bzw. CSV-Dat

P

ph422

Hallo!
Wenn ich in Excel einen Datenimport über ODBC bzw. CSV-Datei vornehme,
formatiert Excel die Zellen immer eigenständig um. Die Daten sollen
aber als Text (char) eingelesen werden. Wie bringe ich Excel bei, dass
z. B. die Zeichenkette 0103 beim Einlesen nicht in ein Datum
konvertiert wird? Hier suche ich ausdrücklich nach einer Lösung, bei
der ich nicht aus *.csv manuell *.txt machen muss (dies geht beim
Zugriff auf die Datenquelle über ODBC auch nicht).
 
F

Frank Kabel

Hi
though I have not problem to understand your post I'm quite sure most
readers in this NG don't understand German :) ->
- try the NE microsoft.public.de.Excel
- post your question in English

To your issue:
- AFAIK for CSV files besided renaming you can try to goto 'Data -
Import External Data - Import Data' and choose your file. This should
invoke the text import assistant so you can define the field types
- ODBC: Does preformating the cells as 'Text' help?. Another option
could be to qualify the date in your source query as 'Text'
 
P

ph422

Danke, Frank!
though I have not problem to understand your post I'm quite sure most
readers in this NG don't understand German :) ->
- try the NE microsoft.public.de.Excel
- post your question in English

Sorry, I'm a unqualified user (a beginner) ... I will try it on the german sites!
 
Top