Good morning -
I have a column of data containing dates that are entered as mm-ddd-yy. I have attempted to convert the format to mm/dd/yyy, but it appears the cell contents are being treated as text, and won't convert properly because Excel doesn't know if the year should be 19XX or 20XX.
I've been trying to use Application.SendKeys to edit the cell contents in my range of cells, but SendKeys appears to be hitting the VB editor, rather than my worksheet.
Does anyone have suggestions for editing the dates as mentioned above? Here's the code I've been using.:
Thank you!
I have a column of data containing dates that are entered as mm-ddd-yy. I have attempted to convert the format to mm/dd/yyy, but it appears the cell contents are being treated as text, and won't convert properly because Excel doesn't know if the year should be 19XX or 20XX.
I've been trying to use Application.SendKeys to edit the cell contents in my range of cells, but SendKeys appears to be hitting the VB editor, rather than my worksheet.
Does anyone have suggestions for editing the dates as mentioned above? Here's the code I've been using.:
Code:
For Each Cell In Range("F2:F4").Cells
Application.SendKeys ("{F2}{LEFT}{LEFT}20{ENTER}")
Next Cell
Thank you!