| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 
 |  
Sub Placeoweb_XLS2CSV_OneFileBySheet()
 
   Application.DisplayAlerts = False
   Application.ScreenUpdating = False
   For Each feuilleEnCours In ThisWorkbook.Sheets
       feuilleEnCours.Select
       feuilleEnCours.Copy
       ActiveWorkbook.SaveAs Filename:="C:\placeoweb.com.xls2csv." & feuilleEnCours.Name & ".csv", FileFormat:=xlCSV, CreateBackup:=False, local:=True
       ActiveWorkbook.Close SaveChanges:=False
   Next
   Application.ScreenUpdating = True
   Application.DisplayAlerts = True
 
   MsgBox ("Exportation terminée, retouvez vos fichier à la racine dans le C:\")
 
End Sub | 
Partager