removing the "ALT+ENTER"?

B

Bob Phillips

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

--

HTH

Bob Phillips

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

Guest

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
 
B

Bob Phillips

Not for me it doesn't, are you sure it is Alt-Enter?

--

HTH

Bob Phillips

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

Guest

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
 
D

Dave Peterson

What did you find from Chip's addin?
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
 
B

Bob Phillips

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)
 
G

Guest

I found out that there are several characters codes: 10, 13, 32
Doing =SUBSTITUTE with all characters (i have found) solves the problem.
I am not sure yet but I am testing it ..
Thanks very much for all your help.
 
B

Bob Phillips

32 is a space isn't it, probably not a good idea to remove that.

Also, in case you don't know, you can embed the subs

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

--

HTH

Bob Phillips

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

salvo00 said:
I found out that there are several characters codes: 10, 13, 32
Doing =SUBSTITUTE with all characters (i have found) solves the problem.
I am not sure yet but I am testing it ..
Thanks very much for all your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top