Private Sub Worksheet_Change(ByVal Target As Range)
If Not Application.Intersect(Target, Range("A3:B30")) Is Nothing Then
If Target.Value <> "" Then
Application.EnableEvents = False
wert = CStr(Target.Value)
pos = InStr(1, wert, ",")
If pos = 0 Then
wert = wert & ",00"
pos = Len(wert) - 2
End If
sek = Mid(wert, pos - 2, 2)
minu = Left(wert, pos - 3)
hund = Right(wert, Len(wert) - pos)
If Len(hund) = 1 Then hund = hund & "0"
If minu = "" Then
trenn = ""
Else
trenn = ":"
End If
Target.Value = minu & trenn & sek & "," & hund
Application.EnableEvents = True
End If
End If
End Sub