Salut à tous,
Voici un VB,
'------------------------------------
Sub Macro1()
'
Application.DisplayAlerts = False
ChDir "C:\Fermat\recu"
Workbooks.Open FileName:="C:\Fermat\recu\loandepo_man.xls"
ChDir "C:\Fermat\dat"
ActiveWorkbook.SaveAs FileName:="C:\Fermat\dat\loandepo_man.csv", FileFormat _
:=xlCSV, CreateBackup:=False
ActiveWorkbook.SaveAs FileName:="C:\Fermat\dat\loandepo_man.csv", FileFormat _
:=xlCSV, CreateBackup:=False
ActiveWindow.Close
End Sub
c'est pour changer la format .xls à .csv.
mais dans le fichier "loandepo_man.csv", le séparateur est "," au lieu de ";".
Pourriez-vous m'aider pour trouver la solution.
(note : quand je le fais manuellement, ça marche bien avec le ";")
Merci d'avance