I have a problem with macro TextToColumns: I have two date formats, one with 01:00 at the end and the other with 03:00 at the end, for example:
14/10/2019 03:00
08/06/2019 01:00
When I run macro:
Worksheet.Columns("A:A").TextToColumns Destination:=Worksheet.Range("A1"), DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=True, _
Semicolon:=False, Comma:=True, Space:=False, Other:=False, DecimalSeparator:="."
I have results:
I need to have all the data in format like the bottom one, but I can't do it for example by number -> format -> custom.
I would really appreciate if you have any ideas what is wrong with my macro?
Thanks!