LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default CAN I REPLACE NON-PRINTING CHAR(127) WITH A SYMBOL?

The char(10) can be changed via edit|replace (or you can use data|text to
columns and specify the delimiter as alt-0010).

But I've never had any luck doing the same thing with char(13).

You can use a helper column filled with formulas like:

=substitute(a1,char(13)&char(10),"|")

Drag it down the column.
Convert to values and use data|text to columns against this helper column (and
use | as the delimiter)

QDZF wrote:

Great addin! It says it is not char(127). When I view the line through the
addin, it shows two characters. One is 013 and the next is 010. I tried
'Text to Columns' using Alt + every variation of these codes and nothing
worked. Now that we know what we are dealing with, is there something else I
should be doing?

Thanks.

"Dave Peterson" wrote:

Are you positive that all those characters are char(127)'s?

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

QDZF wrote:

When I did this, only the first section broke into the new column. The rest
did not appear at all. There's 6 of these breaks in the string. How do I
get the others to break into new columns?

"sebastienm" wrote:

Hi,
No need to Replace; you can directly use the 'Text To Column' feature. As
the delimiter, choose 'Other' and type in the char 127 by typing: ALT + 0127,
ie type 0127 WHILE pressing the ALT.
--
Regards,
Sébastien
<http://www.ondemandanalysis.com


"QDZF" wrote:

HAVE A FILE WITH A STRING OF TEXT BROKEN BY CHAR(127). I WOULD LIKE TO BREAK
THAT STRING AT EACH OCCURENCE OF CHAR(127). EASIEST WAY I COULD THINK OF WAS
TO REPLACE IT WITH A SYMBOL AND THEN USE TEXT TO COLUMNS. IS THERE A BETTER
WAY THAN THIS?


--

Dave Peterson


--

Dave Peterson
 
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 char(13) with find/replace BorisS Excel Discussion (Misc queries) 1 June 24th 08 01:21 AM
How to substitute a comma with a newline char using Replace. edspyhill01 Excel Discussion (Misc queries) 9 July 30th 06 12:38 AM
Using replace box to change a character into a CR (Alt-Enter char) Excel user Excel Discussion (Misc queries) 2 June 9th 06 12:26 PM
How do I find/replace a "<" symbol? Derek Z Excel Discussion (Misc queries) 3 April 6th 05 03:36 PM
Replace Symbol "Code(63)" Andri Excel Worksheet Functions 4 February 20th 05 09:17 AM


All times are GMT +1. The time now is 03:48 PM.

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"