Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
We have an Access database that has VBA code to export the data in the
tables to a CSV file. We have been using Excel to open these files and it recognized all the columns correctly including the ones that had commas because the file put double quotes around all the text in that column. We recently started using File Scripting objects to create Unicode files in the same CSV format. Now when you open up the files in Excel everything appears to be in one column. You can use text to columns, select comma as delimiters and double quote " as a text qualifier however it does not always recognize the double quotes and creates two columns when there should be one. Here is an example of two rows from a file the first will be formatted correctly the second will not. 00251736889001,Austria,20.00 % Tax,1,EUR,1.54,1.54 "103425,103422",Austria,20.00 % Tax,1,EUR,5.02,5.02 The second row will create two columns one containing 103425 and the other containing 103422. Prior to using Unicode files this was not a issue. The files opened up in Excel and were already in the proper column format. Since we went to Unicode we now have the extra step of doing text to columns. Does anyone have any ideas as to what we could do to resolve this. Doug |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Issue opening csv files in Excel | Excel Discussion (Misc queries) | |||
combining data from several excel files into one file | Excel Discussion (Misc queries) | |||
how to copy multiple Excel files from Outlook into Excel??? | Excel Discussion (Misc queries) | |||
merging my excel files | Excel Discussion (Misc queries) | |||
Excel Files Acting Weird | Excel Discussion (Misc queries) |