Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default I want to copy cell from word that includes line breaks to excel

I want to copy a table from word that contains cells with line breaks in.
When I paste into Excel that line breaks drop the data into the cell below.
Is there any easier way other than removing the line breaks from the word
document and replacing them with Alt return in the Excel cell??
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default I want to copy cell from word that includes line breaks to excel

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
replace all.

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

sueCBA wrote:

I want to copy a table from word that contains cells with line breaks in.
When I paste into Excel that line breaks drop the data into the cell below.
Is there any easier way other than removing the line breaks from the word
document and replacing them with Alt return in the Excel cell??


--

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 do I copy several lines of word text into one excel cell? jhh New Users to Excel 2 June 17th 06 12:18 AM
Paste from Word table so that 1 table cell = 1 Excel cell Dave G Excel Discussion (Misc queries) 4 June 17th 05 01:16 AM
Copy Word tables to Excel Don Excel Discussion (Misc queries) 3 February 13th 05 05:31 PM
Copy & paste from Word to Excel with hyperlinks Phil RL Excel Discussion (Misc queries) 0 February 9th 05 04:25 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 08:16 PM


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