Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 83
Default Carriage return in a cell

How can I replace each comma followed by a space with a carriage-
return?

For example, a cell contains:

COL-ACTN-TYPE, COL-ACTN-NBR, ET-AL-IND


I want:

COL-ACTN-TYPE
COL-ACTN-NBR
ET-AL-IND



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 420
Default Carriage return in a cell

Select the range to fix

Edit|Replace (or ctrl-h)
What: , (single comma, but I'd use comma followed by a space character)
with: ctrl-j (hit and hold the control key and hit the j key)
click replace all

It may not look like ctrl-j does anything in the "replace with" box, but if you
look closely, you may notice something.

Even if you don't notice anything, try it.

ctrl-j is the same as alt-enter or =char(10)

On 01/12/2011 19:08, gcotterl wrote:
How can I replace each comma followed by a space with a carriage-
return?

For example, a cell contains:

COL-ACTN-TYPE, COL-ACTN-NBR, ET-AL-IND


I want:

COL-ACTN-TYPE
COL-ACTN-NBR
ET-AL-IND




--
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
Carriage return in a cell gcotterl[_2_] Excel Programming 5 January 13th 11 02:49 PM
Carriage return in cell gcotterl[_2_] Excel Programming 0 January 13th 11 12:57 AM
Getting rid of carriage return in cell James R Excel Discussion (Misc queries) 4 September 8th 08 07:53 PM
Carriage return within a cell Jon Excel Discussion (Misc queries) 3 August 7th 07 06:56 AM
Carriage return in a cell Jos Vens[_2_] Excel Programming 2 November 25th 04 10:03 AM


All times are GMT +1. The time now is 06:53 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"