Do you know how to do it in Excel VBA ?
If not then use the Excel macro recorder doing the import manually.
Finally it's just a matter of executing the code with OLE automation from VBScript.
Hello,
I wrote a script that opens a csv file, sets all the cell columns to auto fit, edits the cell formats of certain columns, (zip to 5 zeroes so the leading zeroes don't get dropped) and then writes the file out as an excel spreadsheet. Is that something that could fit into what you are trying to do?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.