+ Reply to Thread
Results 1 to 4 of 4

problem pasting Word table into Excel

  1. #1
    Registered User
    Join Date
    08-25-2007
    Posts
    7

    problem pasting Word table into Excel

    I have a Word table which contains 3 columns and several hundred rows which I want to paste into an Excel spreadsheet.

    The problem is that middle column of the table contains several lines of text, including line breaks, per row of the table.

    When I paste the table into Excel, each line of text ends up in a separate Excel row even though they were all contained within a single table cell in the Word document.

    There seems to be no easy way to fix this problem in Excel and I am wondering if I have to edit the Word document to remove all of the line breaks, do the copy and paste into Excel and then go and put all of the line breaks back in by hand to preserve the formatting that I want.

    Help!!

    I am an experienced programmer (25 years) but an Excel novice and I can't believe that something this simple and obvious could be so difficult so I assume that I must be missing something ...

    Thanks in advance for any suggestions,

    Michael

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hello Michael,

    Welcome to the forum, does this link offer any help?

    http://office.microsoft.com/en-us/he...994191033.aspx
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    08-25-2007
    Posts
    7
    Thanks for the suggestion, but that is exactly what I already did.

    Suppose that I have a Word table that has three columns and one of the rows looks like this:

    Please Login or Register  to view this content.


    Note that this is a *single* row, but the middle cell contains 3 lines of text with line-breaks.

    If I copy and paste this row into Excel, it takes up *three* rows and the text is split up into *three* cells, one line per cell. Since this is all related information I want everything to be on the same row, with the text in a single cell.

    Unfortunately the only way that I have been able to make this work is to first edit the Word table to remove all of the line breaks from the text, copy and paste into Excel and then put all of the line breaks back in by hand.

    Michael

    PS I tried this with both Office 2003 and 2007 with exactly the same results.
    Last edited by md95065; 08-26-2007 at 12:57 PM.

  4. #4
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by md95065
    Thanks for the suggestion, but that is exactly what I already did.

    Suppose that I have a Word table that has three columns and one of the rows looks like this:

    Please Login or Register  to view this content.


    Note that this is a *single* row, but the middle cell contains 3 lines of text with line-breaks.

    If I copy and paste this row into Excel, it takes up *three* rows and the text is split up into *three* cells, one line per cell. Since this is all related information I want everything to be on the same row, with the text in a single cell.

    Unfortunately the only way that I have been able to make this work is to first edit the Word table to remove all of the line breaks from the text, copy and paste into Excel and then put all of the line breaks back in by hand.

    Michael

    PS I tried this with both Office 2003 and 2007 with exactly the same results.
    Hi,

    Just a thought, if that works for you, then you could replace the line breaks with (say) #$# and then in Excel replace #$# with the line break, this could be as a shortcut triggered macro.

    The required line would be
    Please Login or Register  to view this content.
    etc.
    ---
    Last edited by Bryan Hessey; 08-26-2007 at 01:10 PM.
    Si fractum non sit, noli id reficere.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 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.6.0 RC 1