June 9, 2023
Top Contributors in Excel:
Replacing Carriage Return
Report abuse
* Please try a lower page number.
* Please enter only numbers.
Select the range you want to convert.
Press Alt+F11 then Ctrl+G to activate the Immediate window in the Visual Basic Editor.
Type or copy / paste the following line:
Selection.Replace vbCr, ""
With the insertion point anywhere in that line, press Enter.
Switch back to Excel.
Kind regards, HansV
https://www.eileenslounge.com
Report abuse
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Hi,
Try this
1. Copy the data to Notepad
2. Copy the special character in Notepad and press Ctrl+H
3. Press Ctrl+V in the Find what box
4. Click on Replace All
Hope this helps.
Ashish Mathur
www.ashishmathur.com
http://twitter.com/excelashish
Report abuse
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Report abuse
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Try the following (using the example from your screenshot):
In B1, enter the formula =CODE(MID(A1,17,1))
In C1, enter the formula =CODE(MID(A1,18,1))
What is the result of these formulas?
Kind regards, HansV
https://www.eileenslounge.com
Report abuse
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
B1 = 13Try the following (using the example from your screenshot):
In B1, enter the formula =CODE(MID(A1,17,1))
In C1, enter the formula =CODE(MID(A1,18,1))
What is the result of these formulas?
Report abuse
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Kind regards, HansV
https://www.eileenslounge.com
Report abuse
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Are you sure about the - in -10?Yes
Report abuse
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
OK, try this in the Immediate window in the Visual Basic Editor (after selecting the appropriate range in Excel):
Selection.Replace ChrW(-10), ""
Kind regards, HansV
https://www.eileenslounge.com
Report abuse
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Hans,OK, try this in the Immediate window in the Visual Basic Editor (after selecting the appropriate range in Excel):
Selection.Replace ChrW(-10), ""
Report abuse
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Kind regards, HansV
https://www.eileenslounge.com
Report abuse
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Question Info
Last updated October 5, 2021 Views 288 Applies to: