I have some fairly long macros designed to handle production of some HTML files, using some csv files I get regularly from a client. Trouble is, I can only seem to get Excel to manage everything properly if I open the files as PURE TEXT ... meaning I have to rename the csv as txt, and then step through the entire "Text Import Wizard" to open the file properly. (It is the LAST section of the wizard, where I have to select ALL of the columns of data and specify them to be opened as "text" which seems to be the critical part.)
I want to add a bit of code to my macro so that I can automate what the text import wizard does (why aren't there just some "file open tags" or parameters I can use to force the file to open this way?) but I keep running into problems. When I try to use the recorder, it always hiccups with a "too many line continuations" error.
I assume I can probably solve this problem with the OpenText method, but can't find a good example/tutorial.
Any help?
THX!
I want to add a bit of code to my macro so that I can automate what the text import wizard does (why aren't there just some "file open tags" or parameters I can use to force the file to open this way?) but I keep running into problems. When I try to use the recorder, it always hiccups with a "too many line continuations" error.
I assume I can probably solve this problem with the OpenText method, but can't find a good example/tutorial.
Any help?
THX!