This code loops through a given range and converts each value to the short month name. It works great on small ranges but I wrote it for a dataset I get on a regular basis that is well over 100,000 rows. It still works on the full range but it takes a very long time and looks like it crashes but if I wait about 5 minutes it works.
Any ideas on how I can improve this?
Sub ConvertToMonth()
Dim selectedRange As Range
Set selectedRange = Application.Selection
Application.ScreenUpdating = False
For Each Cell In selectedRange
Cell.Value = MonthName(Cell.Value, True)
Next
Application.ScreenUpdating = True
End Sub
