Sub SepDec()
'
' Remplacement des points ou virgules par le séparateur de décimal configuré
'
'
Dim dec As String
dec = Application.DecimalSeparator
Range(Selection, Selection.End(xlDown)).Select
Selection.Replace What:=".", Replacement:=dec, LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
Selection.Replace What:=",", Replacement:=dec, LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
End Sub