Hi,
Please use the below code.
This is a recorded code so you should have the date in A column and slect all the date and run the macro. This macro blindly work with - and ,
Sub Macro6()
Selection.TextToColumns Destination:=Range("B1"), DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=True, Tab:=True, _
Semicolon:=False, Comma:=True, Space:=True, Other:=True, OtherChar:= _
"-", FieldInfo:=Array(Array(1, 1), Array(2, 1), Array(3, 1), Array(4, 1), Array(5, 1), _
Array(6, 1)), TrailingMinusNumbers:=True
End Sub
Thanks,
SK