
SoftInterface's " Convert XLS" can use Excel (but is not required) and is more expensive ($500+), but supports more formats and has more options. "c:\Program Files\CSV Converter\csvcnv.exe" c:\base\*.csv c:\exports\ /TOXLSX /SRCHDR " Advanced CSV Converter" ($40-200) is a portable EXE that can do it quickly and without Excel having to be installed. It can recurse sub-directories, delete original CSV files, combine all files to one document, and more. Perhaps if you could give more details about what you want you could get more detailed explanations for how to handle approach from me or another forum member.įor Windows? CoolUtils " Total CSV Converter" command line version supports many output formats including JSON, Access, DBF, XML & SQL and is only $40. Note that I haven't written any code to do these things (yet) I am just offering ideas for a starting point. You could even add a simple message box that offers a choice of either xls or xlsx as each file is opened.




Ran in the directory with all the CSV files, it will convert them all and slap a ".xls" onto the end.įor Excel 2007+ (xlsx files) supporting up to about 1 Mrows: import os Assuming you like and have Python (for some reason), you could use this script I whipped up: import osįor csvfile in glob.glob(os.path.join('.', '*.csv')):
