I am not sure this is a recorded code and if I try to execute it its not working, not sure why. It has no effect on the cells. I am trying to convert date from 17/06/22 to 17-06-2022
VBA Code:
Sub Macro3()
'
' Macro3 Macro
'
Range("E9").Select
Range(Selection, Selection.End(xlDown)).Select
Application.CutCopyMode = False
Selection.TextToColumns Destination:=Range("$E$9:$E$32"), DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=True, _
Semicolon:=False, Comma:=False, Space:=False, Other:=False, FieldInfo _
:=Array(1, 1), TrailingMinusNumbers:=True
Range("E56").Select
Selection.End(xlUp).Select
End Sub