I have .xls and .wks worksheets that have small boxes at the end of the TEXT data. How can I remove the small boxes? I have never written a macro and would like HELP...
'Here's a sub / macro that will do what you want...
'..USAGE: paste the code into a module
'highlite / select the cells, columns or rows that contain cluttered text.
'run the strip_char macro
Sub strip_char()
Dim inrange As Range
Set inrange = Selection
For Each c In inrange
If c.Formula = "" Then
Else
c.Formula = Application.WorksheetFunction.Clean(c.Value)
End If
Next
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.