madelca100
MIS
I need code that will read thru a directory and convert all the .csv files to .xls (Excel2003) right back into the same directory.
I don't need any interaction with the user except to provide the path to the csv files. (If the xls file exists it should be overwritten.)
Appreciate any help with sample code (or point to some code that works).
I often find code that doesn't quite work on my machine (see history below). Perhaps I have a different version of Excel or OpSys or something.
Some history:
I'm running some TEST code from Access - no particular reason except that is what I found on the net.
I would just as soon use vba in Excel directly.
And it isn't working because it fails on the SaveAs method. The code I'm testing doesn't loop either - it was used to test the base functionality.
I don't need any interaction with the user except to provide the path to the csv files. (If the xls file exists it should be overwritten.)
Appreciate any help with sample code (or point to some code that works).
I often find code that doesn't quite work on my machine (see history below). Perhaps I have a different version of Excel or OpSys or something.
Some history:
I'm running some TEST code from Access - no particular reason except that is what I found on the net.
I would just as soon use vba in Excel directly.
And it isn't working because it fails on the SaveAs method. The code I'm testing doesn't loop either - it was used to test the base functionality.