I created a macro for removing all whitespace in a string, specifically an email address. However it only removes about 95% of the whitespace, and leaves a few.
My c
Because you assume that Selection.Cells includes all cells on the sheet.
Selection.Cells
Cells.Replace " ", ""