Hello,
I have the following line of VBA code within one of my macros.
ActiveWorkbook.SaveAs Filename:="C:\LH1\" & flname, _
FileFormat:=xlCSV, CreateBackup:=False
ActiveWorkbook.Close
The macro opens up a new file, copies data into it, saves it as a .CSV, and then closes...