Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 01-15-2008, 03:24 PM
hoopz hoopz is offline
Registered User
 
Join Date: 29 Aug 2006
Posts: 30
hoopz is becoming part of the community
Pasting multiple lines of text into one cell

Please Register to Remove these Ads

I have to transfer some date from PDF's to an Excel spreadsheet. Sometimes I want to grab several lines of text and put it in one cell. However, if I copy the following text, for example:

Multiple lines of text Multiple lines of text Multiple lines of text Multiple
lines of text Multiple lines of text Multiple lines of text Multiple
lines of text Multiple lines of text Multiple lines of text Multiple lines of text


and then try to paste into a cell in Excel, it pastes into three cells instead. Anyway to change this default behavior?
Reply With Quote
  #2  
Old 01-15-2008, 03:33 PM
ChemistB ChemistB is offline
Forum Guru
 
Join Date: 05 Aug 2004
Location: NJ
MS Office Version:MS 2007
Posts: 2,600
ChemistB is attaining expert status ChemistB is attaining expert status
No, unfortunately not. You can automatically recombine them in column B by using the formula
Code:
=A2&CHAR(10)&A3&CHAR(10)&A4
and format the cell alignment to Wrap text. Then Copy and Paste special (values) for column B on top of itself and delete column A.

ChemistB
Reply With Quote
  #3  
Old 01-15-2008, 03:37 PM
martindwilson's Avatar
martindwilson martindwilson is offline
Forum Guru
 
Join Date: 23 Jun 2007
Location: London,England
MS Office Version:office 97 ,2003 ,2007
Posts: 6,076
martindwilson Has a higher level of understanding martindwilson Has a higher level of understanding martindwilson Has a higher level of understanding martindwilson Has a higher level of understanding martindwilson Has a higher level of understanding martindwilson Has a higher level of understanding martindwilson Has a higher level of understanding
well i can!
just copied
Multiple lines of text Multiple lines of text Multiple lines of text Multiple
lines of text Multiple lines of text Multiple lines of text Multiple
lines of text Multiple lines of text Multiple lines of text Multiple lines of text

all into cell a1 ok.
click to get cursor in cell before pasting!
Reply With Quote
  #4  
Old 01-15-2008, 03:39 PM
ChemistB ChemistB is offline
Forum Guru
 
Join Date: 05 Aug 2004
Location: NJ
MS Office Version:MS 2007
Posts: 2,600
ChemistB is attaining expert status ChemistB is attaining expert status
Oops, I stand corrected.
Nicely done, Martin

ChemistB
Reply With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump