I want to Remove the Line Break from the string if my string Ends with Line Break.
Sub linebreak(myString) If Len(myString) <> 0 Then If Rig
As you are using Excel you do not need VBA to achieve this, you can simply use the built in "Clean()" function, this removes carriage returns, line feeds etc e.g:
=Clean(MyString)