For the example given try
Dim Rng As Range
Set Rng = Selection
With Rng
.Replace What:="0 ", Replacement:="0z"
.Replace What:=".", Replacement:=":"
.TextToColumns Destination:=Cells(Rng.Row, Rng.Column), DataType:=xlDelimited, _
Space:=False, Other:=False
End With
With Rng
.TextToColumns Destination:=Cells(Rng.Row, Rng.Column), DataType:=xlDelimited, _
Other:=True, OtherChar:="z", FieldInfo:=Array(Array(1, 1), Array(2, 1))
End With
With Columns(Rng.Column + 1)
.Insert Shift:=xlToRight
.NumberFormat = "HH:MM"
End With
With Rng
.TextToColumns Destination:=Cells(Rng.Row, Rng.Column), DataType:=xlDelimited, _
Space:=True
End With
Set Rng = Nothing
VBA Noob
Bookmarks