View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 1,726
Default removing the "ALT+ENTER"?

Do a =CODE(MID(A1,4,1))

to get the character code (change 4 to where it actually is)

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"salvo00" wrote in message
...
Thanks.
Unfortunately it is not an alt+enter.
After testing both char(10 or 13) I always get at the end of the phrase a
small square (cube).
The cells have been exported from the MS-Access.
In each cell there were 3,4 phrases. I'm trying to get a non-formatted

text
(no line breaks) but it seems impossible.
Salvo



"Dave Peterson" wrote:

Maybe it's not an alt-enter.

I'd try this next:
=SUBSTITUTE(A1,CHAR(13),"")

If that doesn't work...

Chip Pearson has a very nice addin that will help determine what that
character(s) is:
http://www.cpearson.com/excel/CellView.htm

Then you can use that info in the correct formula.


salvo00 wrote:

Thank you Bob.
The formula replaces the line-break with a small square.
I don't want that symbol. I just want a space and all the text in 1

line.
Is there a solution?
Salvo

"Bob Phillips" wrote:

=SUBSTITUTE(A1,CHAR(10),"")

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"salvo00" wrote in message
...
How can I remove the "ALT+ENTER - line break" from a list of cells

?




--

Dave Peterson