Sub Conversion()
Dim lg As Integer, i As Integer, lat As Single, lng As Single, Resultat As L93
With Sheets("Feuil1")
lg = .Cells(Rows.Count, "C").End(xlUp).Row
For i = 3 To lg
lat = .Range("C" & i).Value 'Replace(.Range("C" & i).Value, ".", ",")
lng = .Range("D" & i).Value 'Replace(.Range("D" & i).Value, ".", ",")
Resultat = Lambert93(lat, lng)
.Range("G" & i).Value = Resultat.X
.Range("H" & i).Value = Resultat.Y
'Définit le texte d'export pour le csv en colonne "J"
.Range("J" & i).Value = .Range("B" & i).Value & "," & Replace(Resultat.X, ",", ".") & "," & Replace(Resultat.Y, ",", ".") & "," & Replace(Range("E" & i).Value, ",", ".")
Next i
End With
End Sub