ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   copy text wrapped cell from word to excel Office 2007 (https://www.excelbanter.com/excel-discussion-misc-queries/156259-copy-text-wrapped-cell-word-excel-office-2007-a.html)

gemofnj

copy text wrapped cell from word to excel Office 2007
 
When I try to copy text that has been wrapped in a word table it pops it into
excel on three lines instead of the cell.

Can anyone help me out on this?

Dave Peterson

copy text wrapped cell from word to excel Office 2007
 
This isn't new with xl2007.

Saved from a previous post:

If your cells in your word table contain paragraph mark or linebreak characters,
then excel will bring them over as separate cells.

One way around it is to convert those paragraph marks & linebreaks to unique
characters, then copy|paste and then convert them back to linefeeds.

I like this technique (inside a copy of the word file):
Select your table.
Edit|replace|Special (show More if required)
Find what: (paragraph mark under Special button)
replace with: $$$$$ (if $$$$$ doesn't appear in the table)
replace all

Same thing with Manual Line break (from under Special).

Now copy the table into Excel.

Edit|Replace
Replace what: $$$$$
Replace with: ctrl-j (hit and hold the control key and hit j)
replace all.

You may have to use Format|cells|Alignment tab|check wrap text

Don't forget to close the word document without saving (or hit undo as many
times as necessary).


gemofnj wrote:

When I try to copy text that has been wrapped in a word table it pops it into
excel on three lines instead of the cell.

Can anyone help me out on this?


--

Dave Peterson


All times are GMT +1. The time now is 05:03 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com