Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default removing the "ALT+ENTER"?

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" wrote in message
...
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" wrote:

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






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing characters Maksko Excel Discussion (Misc queries) 7 October 19th 06 02:26 PM
Clear Cell Without Removing Formula Scott Excel Worksheet Functions 4 March 27th 06 12:07 AM
Removing grids Zapiszsie Excel Discussion (Misc queries) 2 July 5th 05 08:54 AM
Removing trailing spaces from cells ? Don Guillett Excel Worksheet Functions 0 April 10th 05 03:32 PM
How do I stop excel removing zeros? tomcat Excel Discussion (Misc queries) 2 January 21st 05 05:40 PM


All times are GMT +1. The time now is 04:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"