Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
csv files
I have created a macro to open a csv file and copy the contents to another
file. When i run the macro in my system it opens the csv file and in this file all the data are in seperate columns. but when i run this macro in another system it opens the csv file but in this file the data are in single column seperated by commas. is there a settings difference in different computers that make then open the csv files differently. how to change this setting in the macro so that the csv file opens similarly in all systems like each data in different cells rather than in in one cell seperated by commas |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
csv files
You could rename/copy the file to have an extension of .txt. Then your macro
would parse the data as comma separated. In fact, you'd have more control of how each field is treated instead of just letting excel guess at each field. I think the problem with the troublesome pc's is that their windows regional setting is different from yours. They don't use a comma as a list separator--maybe a semicolon (common in non-USA locations). linto wrote: I have created a macro to open a csv file and copy the contents to another file. When i run the macro in my system it opens the csv file and in this file all the data are in seperate columns. but when i run this macro in another system it opens the csv file but in this file the data are in single column seperated by commas. is there a settings difference in different computers that make then open the csv files differently. how to change this setting in the macro so that the csv file opens similarly in all systems like each data in different cells rather than in in one cell seperated by commas -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Navigating to Excel files over network slow, but not Word files | Excel Discussion (Misc queries) | |||
Excel 2007 tmp files filling up drive with XLSM files | Excel Worksheet Functions | |||
How to change default Open/Files of Type to "Microsoft Excel Files | Excel Discussion (Misc queries) | |||
converter tool to convert XL 2007 files to XL 2003 files | Excel Discussion (Misc queries) | |||
Drive Erased, got Files back but only excel files scrambled, help. | Excel Discussion (Misc queries) |