G
glenn
hi all
I wanted to export a workbook (it has only one worksheet) to a csv file,
so I used this code:
ActiveWorkbook.SaveAs Filename:= "c:\aFile.csv", FileFormat:=xlCSV
,CreateBackup:=False
It works fine, but after I run it i find myself working in Excel within
the aFile.csv file instead of the initial aFile.xls.
How can I export to the csv while remaining inside the xls after the export?
Thanks!
I wanted to export a workbook (it has only one worksheet) to a csv file,
so I used this code:
ActiveWorkbook.SaveAs Filename:= "c:\aFile.csv", FileFormat:=xlCSV
,CreateBackup:=False
It works fine, but after I run it i find myself working in Excel within
the aFile.csv file instead of the initial aFile.xls.
How can I export to the csv while remaining inside the xls after the export?
Thanks!