Komma aber Doppelpunkt
04.04.2014 09:52:24
walter
ich möchte gern, wenn ich Komma eingebe, das mir der Doppelpunkt
dargestellt wird.
Als Text, möchte keine Zeitdarstellung.
Habe das mal so probiert, leider ohne Erfolg:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim lrgRange As Range
On Error GoTo ERR_Handler
Set lrgRange = Range("E5:E65000, F5:F65000")
If Intersect(Target, lrgRange) Is Nothing Then Exit Sub
With Target
If .Count = 1 Then
If .Value = "," Then
Application.EnableEvents = False
.Value = ":"
End If
End If
End With
ERR_Handler:
Application.EnableEvents = True
End Sub
mfg walter mb