S
ssexcel
Greetings all !
I have used a user form to take userinput. The user "cut and paste
data from another window. The text box is formatted to warp text an
take multi line input
While saving in excel the Carriage returns are showing as contro
characters.
As such it is not giving any problems when the user does not cut extr
blank lines. If they cut extra blank lines (say 4 blank lines) at th
end of the data there are 4 squares (control characters). I trie
doing a find and replace and excel is not finding this character.
I need solution for this problem:
I want to remove the extra line feeds/carraige returns at the end
automatically.
1. Is there a function by which I can do it ?
2. How to read the last few characters in that cell and check whethe
it contain the carriage return.
3. I cannot do a global find and replace in that cell because th
other carriage return also would get replaced and all the line spacin
would be lost.
4. How to loop to check all the cells in that column ?
Thanks in advanc
I have used a user form to take userinput. The user "cut and paste
data from another window. The text box is formatted to warp text an
take multi line input
While saving in excel the Carriage returns are showing as contro
characters.
As such it is not giving any problems when the user does not cut extr
blank lines. If they cut extra blank lines (say 4 blank lines) at th
end of the data there are 4 squares (control characters). I trie
doing a find and replace and excel is not finding this character.
I need solution for this problem:
I want to remove the extra line feeds/carraige returns at the end
automatically.
1. Is there a function by which I can do it ?
2. How to read the last few characters in that cell and check whethe
it contain the carriage return.
3. I cannot do a global find and replace in that cell because th
other carriage return also would get replaced and all the line spacin
would be lost.
4. How to loop to check all the cells in that column ?
Thanks in advanc