Hello all,
I have this macro who has to save an .xls file into .csv format. This macro is attached to a button.
Private Sub BTNopslaan_Click()
ActiveWorkbook.SaveAs FileName:="F:\alain\DEBVAL.CSV", FileFormat:= _
xlCSVMSDOS, CreateBackup:=False
End Sub
It does the saving with comma's as delimiter. I also tried xlCSV as format.
When I do the saving myself (i.e. via the menu) the semicolumn is used as delimiter. And this is how it's supposed to be.
The semicolumn is the default delimiter in my Windows configuration.
Who knows how to force the use of the semicolumn when the macro is excecuted?
Thanks,
Dries.
I have this macro who has to save an .xls file into .csv format. This macro is attached to a button.
Private Sub BTNopslaan_Click()
ActiveWorkbook.SaveAs FileName:="F:\alain\DEBVAL.CSV", FileFormat:= _
xlCSVMSDOS, CreateBackup:=False
End Sub
It does the saving with comma's as delimiter. I also tried xlCSV as format.
When I do the saving myself (i.e. via the menu) the semicolumn is used as delimiter. And this is how it's supposed to be.
The semicolumn is the default delimiter in my Windows configuration.
Who knows how to force the use of the semicolumn when the macro is excecuted?
Thanks,
Dries.