I will be merging data into a new CRM, the requirements for the CRM are to post everything from a CSV file, unfortunately most of the information is stored in a XLS format. How does one convert XLS to CSV?
I will be merging data into a new CRM, the requirements for the CRM are to post everything from a CSV file, unfortunately most of the information is stored in a XLS format. How does one convert XLS to CSV?
something to try, you will need to edit the targets and source's
jiuk
![]()
Sub Jack_in_the_UK_XLS_to_CSV() Dim my_Microsoft_EXCEL_Document As String Dim my_CSV_Document As String Const strInputFolder As String = "C:jiuk_Source" Const strOutputFolder As String = "C:jiuk_DESTINATION" my_Microsoft_EXCEL_Document = Dir(strInputFolder & "*.xls") Do While my_Microsoft_EXCEL_Document <> "" my_CSV_Document = Left(my_Microsoft_EXCEL_Document, InStrRev(my_Microsoft_EXCEL_Document, ".")) & "csv" Workbooks.Open strInputFolder & my_Microsoft_EXCEL_Document ActiveWorkbook.SaveAs strOutputFolder & my_CSV_Document, xlCSV ActiveWorkbook.Close False my_Microsoft_EXCEL_Document = Dir Loop End Sub
just save as csv office button/save as/ other file types choose csv
Last edited by martindwilson; 01-22-2012 at 07:54 AM.
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks