I have a date column in EXCEL with the date in the format - 1/27/2019. I want to write a script in VBA to extract just the year portion (2019) and put it in another column.
Do I convert the Date into String first? And then split the String using
`Split(date_as_string, "/")
to get the year portion??
How can I convert the Date into String to achieve this? Any other approach to solve this problem is also appreciated.


