Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Removing Line Breaks Within a Cell
I have pasted content from a web source into a spreadsheet. One of the cells looks like this:
Concepts Evaluated: Examining the Status Quo Explaining the Stakes and the Consequences Destabilizing the Status Quo I need it to look like this: Concepts Evaluated: Examining the Status Quo, Explaining the Stakes and the Consequences, Destabilizing the Status Quo I tried removing line breaks (alt 010, alt 013, ctrl J) - but that doesn't work. Does anyone have any ideas as to how I might get these cells formatted the way I need them to be? Current formatting is breaking downstream functions. Thanks!! Tim |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Removing Line Breaks Within a Cell
Hi Tim,
Am Tue, 22 Jul 2014 17:27:13 +0100 schrieb TimR1316: Concepts Evaluated: Examining the Status Quo Explaining the Stakes and the Consequences Destabilizing the Status Quo I need it to look like this: Concepts Evaluated: Examining the Status Quo, Explaining the Stakes and the Consequences, Destabilizing the Status Quo rightclick the cell = format cells = Alignment and deaktivate "WrapText" Regards Claus B. -- Vista Ultimate / Windows7 Office 2007 Ultimate / 2010 Professional |
#3
|
|||
|
|||
Thanks, Claus. I neglected to mention that I had tried that. It looks fine - but my down stream processes still think there's something there causing the line break.
Maybe there's something else causing the downstream problem, but this seems to happen frequently when dealing with text like this. I can normally fix it manually, but there are so many cells like this, it would take me forever to fix them. Thanks!! Tim |
#4
|
|||
|
|||
I think I figured out how to fix the problem. I opened the .csv file in notepad++. When I did that, I could still see CR and LF characters (even after using wrap text). I was able to remove the CR and LF characters in notepad++ then continue my downstream processing. Not sure if there is a way to do this in Excel - but for now, my problem is resolved. Thanks!!
Quote:
|
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Removing Line Breaks Within a Cell
Hi Tim,
Am Tue, 22 Jul 2014 19:16:37 +0100 schrieb TimR1316: Maybe there's something else causing the downstream problem, but this seems to happen frequently when dealing with text like this. I can normally fix it manually, but there are so many cells like this, it would take me forever to fix them. try: Sub Test() Application.ScreenUpdating = False ActiveSheet.UsedRange.WrapText = False Application.ScreenUpdating = True End Sub Regards Claus B. -- Vista Ultimate / Windows7 Office 2007 Ultimate / 2010 Professional |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Removing Manual Line Breaks in Multiple Cells | Excel Discussion (Misc queries) | |||
Shortcut:??? No Line Breaks in Cell | Excel Discussion (Misc queries) | |||
Hyperlink in cell with line breaks | Excel Discussion (Misc queries) | |||
Can you get line breaks in a text cell | Excel Discussion (Misc queries) | |||
populating a cell with text w/ line breaks | Excel Programming |