Bonjour a Tous,
J'utilise cette macro pour export mes données en csv UTF 8, cela fonctionne très bien.
Le problème est que le traitement s'arrête lorsque la macro rencontre une colonne vide, est il possible d'y remédier ?
Dim Plage As Range, oL As Range, Oc As Range, Tmp As String
Set Plage = Worksheets("ALL_CMD").Range("A1").CurrentRegion
Open ThisWorkbook.Path & "\" & "test" & ".csv" For Output As #1
For Each oL In Plage.Rows
Tmp = " "
For Each Oc In oL.Cells
Tmp = Tmp & CStr(Oc.Text) & ";"
Next
Print #1, Utf8_Encode(Tmp)
Next
Close