Formatierung bei Datenimport via ODBC bzw. CSV-Dat

  • Thread starter Thread starter ph422
  • Start date Start date
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).
 
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'
 
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!
 

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

Similar Threads


Back
Top