Title: Remove Trailing Spaces from Cells in Excel - Free Excel Tutorial
Headings: Remove Trailing Spaces from Cells in Excel
Remove Trailing Spaces from Cells in Excel
Remove Trailing Spaces from Cells with Formula
Remove Trailing Spaces from Cells with VBA Macro
Related Functions

Content: Then clicking “ Save ” button. Sub RemovTrailSpaces ()  Dim cel As Range  For Each cel In Selection. Cells  cel = Trim (cel)  Next End Sub
#6 back to the current worksheet, then run the above excel macro. Click Run button. #7 Let’s see the result. Related Functions
Excel TRIM function
The Excel TRIM function removes all spaces from text string except for single spaces between words. You can use the TRIM function to remove extra spaces between words in a string. The syntax of the TRIM function is as below:= TRIM (text)….