Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Sloth
 
Posts: n/a
Default Pasted text is broken up

I pasted some text into a worksheet and it pasted it almost the way I wanted
it. I was like this...

|Text with spaces|
| |LXX=1234|LXY=12354|
|More text with spaces|

I used the "text to columns" and delimited to get this...

|Text with spaces|
| |LXX|=|1234|LXY|=|12345|
|More text with spaces|

That was exactly what I wanted so I went to the next worksheet and pasted
more info (same stuff with different numbers). This time it pasted like
this...

|Text|with|spaces|
|LXX|=|4576LXY|=|5698|
|More|text|with|spaces|

How do i get it to paste like it did the first time? Is there a way to do
the opposite of text to columns, with spaces seperating the words (without
using a formula)?

Please note that I am using '|' to show cell borders.
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Excel remembers the settings when you do data|text to columns (it's just trying
to help!).

You have a couple of choices:

#1. Close excel and reopen it (yechhhh!)
#2. Do another data|text to columns, choose delimited, but remove all the
checkmarks for each delimiter.


I think your options are either using a formula:
=a1&" "&b1&" "&C1
or using a macro that accomplishes the same thing.

(There's no menu like data|columns to text in excel.)



Sloth wrote:

I pasted some text into a worksheet and it pasted it almost the way I wanted
it. I was like this...

|Text with spaces|
| |LXX=1234|LXY=12354|
|More text with spaces|

I used the "text to columns" and delimited to get this...

|Text with spaces|
| |LXX|=|1234|LXY|=|12345|
|More text with spaces|

That was exactly what I wanted so I went to the next worksheet and pasted
more info (same stuff with different numbers). This time it pasted like
this...

|Text|with|spaces|
|LXX|=|4576LXY|=|5698|
|More|text|with|spaces|

How do i get it to paste like it did the first time? Is there a way to do
the opposite of text to columns, with spaces seperating the words (without
using a formula)?

Please note that I am using '|' to show cell borders.


--

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
how to preserve paragraph breaks in pasted text? Bob Excel Discussion (Misc queries) 4 June 18th 08 07:15 PM
stopping pasted text deliminate across multiple cells Paul from NZ Excel Discussion (Misc queries) 3 September 8th 05 06:06 AM
Not all pasted text appears in cells cjswift Excel Discussion (Misc queries) 1 August 8th 05 03:43 PM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


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