Hi All, i have the below VBA code which trims each cell but i have dates in the workbook and it seems to mess with the date format which then forces you to double click in each cell to correct. Not ideal when there is 10000 rows. Can someone help me on stopping from doing this OR update the code to trim column O only?
Thanks!
Thanks!
Code:
Sub CleanSheet1() For Each Cell In ActiveSheet.UsedRange
Cell.Value = Trim(Cell)
Next Cell
End Sub