+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    08-29-2006
    Posts
    30

    Pasting multiple lines of text into one cell

    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?

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    MS 2007
    Posts
    4,972
    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

  3. #3
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    10,477
    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!

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    MS 2007
    Posts
    4,972
    Oops, I stand corrected.
    Nicely done, Martin

    ChemistB

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0