Hello,
I would like to use a word table copying it in excel. But when i copy it in excel, some cells of the column "pièce" are shifted in relation to the original word table. For example, you can see that the number 174 of the column "pièce" is no longer in front of the number 605 of the column "art." and the number 180 of the column "pièce" is no longer in front of the number 637 of the column "art."
Could you tell me how to solve this problem, because i would like to do subtotals based on the numbers of the column "art." Than you.
I'm french so excuse me for my english language.
Here are my word and my excel tables as attachments.
Your table in Word should have the same structure as the table in Excel (i.e., the same number of rows), rather than using carriage returns.
Microsoft MVP - Excel
Entia non sunt multiplicanda sine necessitate
In your MS Word document, column Art, you have formattted the paragraphs:
Spacing:before = 1.85 pt,However, in column Piece the paragraph formatting is:
after = 0 pt,
line spacing = exactly @ 7.75 pt
Spacing:before = after = 0 pt,Thus, 605 is 20 lines down in column one, but 174 is 21 lines down in column 2 to get it to line up with the unequal spacing parameters.
line spacing = exactly @ 8 pt
---
Ben Van Johnson
Hello, so if I understand, there 's no solution to my problem, knowing my word file have 55 pages ?
Thank you.
My suggestions:
1. Select the entire Word document and change the paragraph formatting to 0 pt before and after.
2. Change the line spacing to double
3. Since you inserted blank lines to get double spacing, you will need to delete the blank lines. Use Find/Replace to find the double paragraph markers ^p^p and replace with a single paragraph marker ^p
4. In column 4 you have inserted blank lines by putting in a tab mark followed by 29 spaces and a paragraph marker: Use the Find/Replace option to find the ^t.............................^p and replace them with nothing. Note that there are 29 blanks between the ^t and ^p tab and paragraph markers.
I also suggest that you show all formatting marks: Tools > Options > View > Formatting Marks > All
----------------
Tabs show up as →, spaces as dots and paragraph markers as ¶
Testcopiercollerexcelword(bvj-excelforum).zip
(In your original Word document, because of the difference in spacings between the two columns, the 174 was copied one row lower than the 605 when pasted into Excel because it was actually one line lower in the Word doc even though they appeared to line up horizontally.)
Last edited by protonLeah; 04-19-2009 at 09:20 PM.
---
Ben Van Johnson
Hello,
Please, could you make a macro or vba in my word file to automate all these adjustments and to save time, because i don't know to make a macro ? Indeed, i work daily on this type of file so i would like to use every day your macro . Thank you for your help.
I send you my word file in full as an attachment.
I'll look at it tomorrow; it's late now. Also, the new document you sent was saved in Rich Rext Format (rtf), and in order to save a macro it will have to be a Word doc instead.
---
Ben Van Johnson
Your post does not comply with Rule 8 of our Forum RULES. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser)to the cross-post. We are here to help so help us help you!
http://www.theofficeexperts.com/foru...ad.php?t=10637
oldchippy
-------------
![]()
![]()
If you are happy with the help you have received, please click the blue scales icon in the blue bar of the post.
Click here >>> Top Excel links for beginners to Experts
Forum Rules >>>Please don't forget to read these
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks