It's a right Place where you can improve your knowledge on IT, Computers, Softwares, Automobiles and Investments
Saturday, 20 September 2014
Delete Spaces in the Cell
Sub TrimBText() ' This module will trim extra spaces from BOTH SIDES. Dim MyCell As Range On Error Resume Next For Each MyCell In Selection.Cells MyCell.Value = Trim(MyCell.Value) Next On Error GoTo 0 End Sub
No comments:
Post a Comment