so I have one big Excel sheet (.xlsm) from which I want to get 3 new CSV files. I already tried something like that below, but this seperates with normal commas:
Sub walrus()
Dim dir As String
dir = "My\Super\Cool\Path.csv"
Application.DisplayAlerts = False
ThisWorkbook.Sheets("FooBar").Copy
ActiveWorkbook.SaveAs Filename:=dir, FileFormat:=xlCSV, CreateBackup:=True
ActiveWorkbook.Close
Application.DisplayAlerts = True
End Sub
So does anybody know how to change that?
Thanks guys!