How to save semi-colon delimited csv file using VBA?

后端 未结 6 1847
轮回少年
轮回少年 2020-12-03 08:10

I copy data into a spreadsheet, use VBA to format it, then save that sheet into a CSV file.

I use the following code:

ws.SaveAs Filename:=filestr, Fi         


        
6条回答
  •  春和景丽
    2020-12-03 08:40

    Just use this code: ActiveWorkbook.SaveAs "My File.csv", xlCSV, Local:=True

    (don't use: Filename:= )

提交回复
热议问题