Save individual Excel sheets as CSV

前端 未结 2 1307
我在风中等你
我在风中等你 2020-12-31 15:01

I need to parse Excel work sheets. Now I save each individual work sheet as .csv and it works great. I use OpenCSV to parse the files etc. but to create those .csv files are

2条回答
  •  旧时难觅i
    2020-12-31 15:47

    As a first answer, here is the code used to save a file to CSV:

    ActiveWorkbook.SaveAs "C:\Marthinus.csv", fileformat:=6
    

    More info about SaveAs

提交回复
热议问题