Sub foo(r As Range) Dim cell As Range Dim pos As Long Dim buf1 As String, buf2 As String For Each cell In r pos = InStrRev(cell.Value, ".") If pos > 0 Then buf1 = Right$(cell.Value, Len(cell.Value) - pos) buf2 = Left$(cell.Value, Len(cell.Value) - Len(buf1) - 1) cell.Value = buf1 & "," & buf2 End If Next End Sub