Hi,
I have a rawdata file which outputs in the date column formatted as Text the month (May-14 ), is there any way that I can format the same May-14 to a date format "mmm-yy"?
Sorry, should have mention that, yes I did, and yes it works, but this is to an automated report with no intervention from the users, so I was looking for a possible macro or a function.
Hi,
Can't this action(Text to Columns) be automated? I tried doing it with macro recorder and got this code.
Code:
Option Explicit
Sub TextToDate()
With Selection
.TextToColumns , DataType:=xlDelimited, FieldInfo:=Array(1, 3)
.NumberFormat = "mmm yy"
End With
End Sub