Google Groepen ondersteunt geen nieuwe Usenet-berichten of -abonnementen meer. Historische content blijft zichtbaar.

Re: removing the "ALT+ENTER"?

5 weergaven
Naar het eerste ongelezen bericht

Bob Phillips

ongelezen,
14 nov 2006, 04:42:1614-11-2006
aan
=SUBSTITUTE(A1,CHAR(10),"")

--

HTH

Bob Phillips

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

"salvo00" <sal...@discussions.microsoft.com> wrote in message
news:8DC1728A-67E8-48AC...@microsoft.com...
> How can I remove the "ALT+ENTER - line break" from a list of cells ?


salvo00

ongelezen,
14 nov 2006, 06:04:0214-11-2006
aan
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

ongelezen,
14 nov 2006, 06:45:5714-11-2006
aan
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)

"salvo00" <sal...@discussions.microsoft.com> wrote in message

news:22AD6446-C37A-4F2A...@microsoft.com...

Dave Peterson

ongelezen,
14 nov 2006, 09:20:4514-11-2006
aan
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.

--

Dave Peterson

salvo00

ongelezen,
14 nov 2006, 11:24:0214-11-2006
aan
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

ongelezen,
14 nov 2006, 11:28:1814-11-2006
aan
What did you find from Chip's addin?

--

Dave Peterson

Bob Phillips

ongelezen,
14 nov 2006, 11:39:5514-11-2006
aan
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" <sal...@discussions.microsoft.com> wrote in message

news:B82C80D4-D87D-4FE0...@microsoft.com...

salvo00

ongelezen,
14 nov 2006, 11:57:0214-11-2006
aan
This small cube is also presented as a vertical line ( a bold capital I).

Dave Peterson

ongelezen,
14 nov 2006, 13:34:0614-11-2006
aan
Was was the code for that character--using Chip's addin will tell you.

--

Dave Peterson

Gord Dibben

ongelezen,
14 nov 2006, 16:10:2014-11-2006
aan
Maybe a "pipe" from pipe-delimited.

Code 0124


Gord Dibben MS Excel MVP

On Tue, 14 Nov 2006 08:57:02 -0800, salvo00 <sal...@discussions.microsoft.com>
wrote:

salvo00

ongelezen,
15 nov 2006, 02:46:0115-11-2006
aan
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.

Bob Phillips

ongelezen,
15 nov 2006, 06:50:3315-11-2006
aan
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" <sal...@discussions.microsoft.com> wrote in message

news:900E1676-A79C-4351...@microsoft.com...

0 nieuwe berichten