Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text Edit in Excel 2

Status
Not open for further replies.

Maceleven

IS-IT--Management
Aug 30, 2002
15
GB
I have imported an address field from a csv file created by Filemaker. The carriage returns at the end of each line have appeared as "boxes" see below. I wish to replace with another character and then use "Text to Columns" to seperate the lines.

How do I define the "box" in the Find and Replace function?

7 Weston Avenue St. George, Bristol, BS5 8DW

 
If the character is a Newline character it will have the value the same as the result of CHAR(10), so you could use a formula of:
=SUBSTITUTE(A1,CHAR(10),"#")
and copy down as required. Then do Copy/Paste Special/Values of that column before doing your Text to Columns.

Cheers, Glenn.

Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
 
Thanks for the clues. On my computer (UK, XP) it is CHAR(11) that does the trick. Subsidiary question, in Excel the expression CHAR(1) through to CHAR(31) all show the "box" symbol. What shouls they be.

Thanks again
 
Just curious, but could you have copied the box and used it as your separator character?
 
Hi BenRowe,

on my computer, when you go into Edit mode, the "box" transforms into a real Newline, i.e. the text breaks at that point ... there is nothing to select, so you can't copy the "box".

Cheers, Glenn.

Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top