I most always have trouble pasting rows from one table into another table. I’m careful to make sure both tables have the same number of columns, but when I paste in the new rows, they don’t conform to the width of the columns in the receiving table. Is there an easy way to get this to work?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Pasting rows between tables (Word 2000)
Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Pasting rows between tables (Word 2000)
- This topic has 16 replies, 5 voices, and was last updated 19 years, 6 months ago.
AuthorTopicWSRuss Kidd
AskWoody LoungerNovember 19, 2005 at 6:19 am #426518Viewing 1 reply threadAuthorReplies-
WSjscher2000
AskWoody LoungerNovember 19, 2005 at 6:39 am #985914(Edited by jscher2000 on 18-Nov-05 23:39. )
Starting in Word 2000, I believe the default is to let the content stretch the size of cells. Unless you turn this off and rigorously set all the column widths, it would be a miracle to find two tables with the same layout. One way to try to get them the same is to save a blank table of the correct layout as an AutoText entry, and use that to create all your tables for that particular situation.
Added: Actually, if you are copying, say, three rows from the source table, and you select three rows in the destination table, Word may paste the contents (and font/paragraph formatting) without disturbing the layout. I don’t keep careful tabs on exactly when Word does which behavior, but you could experiment with this.
-
WSRuss Kidd
AskWoody LoungerNovember 19, 2005 at 10:14 pm #986025I tried several ways of pasting the rows but the only thing that seems to work is this:
1. Create blank rows in the receiving table
2. Select the rows in the table you’re copying from, put them on clipboard
3. Do a Paste Special, Unformatted into the blank rows in the receiving documentThe two problems with this are (1) any attributes in the pasted rows are lost, and (2) any formatting in the columns of the receiving table (e.g., centering) is lost. Also, it’s inconvenient to have to create blank rows in the receiving table first, especially when you have a large number of rows to copy (152 in this case).
I find it hard to believe that Word doesn’t have some easy way of doing this kind of thing without jumping through these hoops and losing formatting like this. This is a common operation and an important feature for a word processing program to have. The paralegals in my law firm do nothing but this kind of work (putting mammoth tables together from different sources). WordPerfect does this seamlessly and I would be shocked if Word doesn’t have a way to do it as well.
Can anyone help clear this up?
(Thanks for your reply, Jefferson.)
-
WSHansV
AskWoody LoungerNovember 19, 2005 at 11:44 pm #986038Rummaging in my code archive, I came upon the following macro. It assumes that
a) all tables in the document have the same number of columns.
all cells in a column in one table have the same width.
It will make the column widths of all tables in the document the same as those in the first table in the document.
Perhaps you can use it. You could copy the source and destination table to a temporary document if you don’t want all tables to have the same column widths in the document you’re working with.Sub FixColWidths()
Dim aTable As Table
Dim ColWidths() As Single
Dim ColSpace As Single
Dim i As Integer, n As Integer, j As Integer
Application.ScreenUpdating = False
Set aTable = ActiveDocument.Tables(1)
n = aTable.Columns.Count
ReDim ColWidths(1 To n)
For i = 1 To n
ColWidths(i) = aTable.Columns(i).Width
Next i
ColSpace = aTable.Rows.SpaceBetweenColumns
For j = 2 To ActiveDocument.Tables.Count
Set aTable = ActiveDocument.Tables(j)
For i = 1 To n
aTable.Columns(i).Width = ColWidths(i)
Next i
aTable.Rows.SpaceBetweenColumns = ColSpace
Next j
Set aTable = Nothing
Application.ScreenUpdating = True
End Sub -
WSRuss Kidd
AskWoody Lounger
-
-
-
-
Andrew Lockton
AskWoody_MVPNovember 20, 2005 at 10:05 pm #986117There are different ways to paste content in. I don’t normally have the same problem as you and I often paste cells into existing tables specifically to realign the cell widths to the target table. I haven’t got Word 2000 on the current computer but I certainly had less table issues with that version than I do with the later versions.
In the later versions of Word eg 2002/2003 I have noticed that you don’t want to copy the final cell of a table as it contains hidden information that may cause the inserted cells to be a separate embedded table and not merge into the one table. I avoid this by adding a new row at the bottom of the copied table and not including that row in the copy.
Once I have my copied cells in the clipboard then I go to the target table and put my (collapsed) selection cursor in the cell where I want my paste to start. A simple paste then works nicely for me. Note that selecting cells before doing the paste can yield different results.
Is there local formatting in your tables? Are the tables set to resize automatically to the content? Perhaps these factors are clouding your experience.
-
WSRuss Kidd
AskWoody LoungerNovember 21, 2005 at 3:10 am #986137Andrew, the funny thing is, I don’t always have a problem pasting rows from one table to another–just sometimes. I haven’t been able to tell what the problem is when it doesn’t work.
What do you mean “collapsed” selection cursor? When you say “simple paste,” do you mean just a regular paste or Paste Special?
The column widths are all set to resize automatically to the content. By “local formatting” I assume you mean additional paragraph formatting not found in the styles. Nope, none of that.
As I mentioned in my reply to Jefferson, the only thing that worked in this case was to first select the proper number of rows in the target table and then do a Paste Special, Unformatted. I’m not at work right now and so don’t have the document handy, but as I recall, when I did a Paste Special, Unformatted without first selecting rows in the target table, the entire paste was put into the cell where my cursor was.
Also, when I did a regular paste with rows selected in the target table, the columns of the insertion did not conform to the column widths in the target table.
Thanks for the tip about not copying the final cell of a table in later versions of Word.
-
Andrew Lockton
AskWoody_MVPNovember 21, 2005 at 3:31 am #986139Russ,
I normally get away with a regular paste but have had rare occasions when the column widths don’t match. I have never felt the need to fully work out the issues though as the fix is usually quick enough because I have table formatting macros in my templates. Can you post a sample doc with a couple of tables that doesn’t work for you so we can test it ourselves and see if there is something peculiar with those tables.
When posting table cells I would only very rarely use Paste Special and then only if I don’t want a table structure in the paste.
Is copying between files an issue or is this within a single file?
-
WSRuss Kidd
AskWoody LoungerNovember 21, 2005 at 10:43 pm #986257Andrew,
I’m not at work today, so I’ll try to post a document with samples of both tables tomorrow. The two tables are in separate documents. The general problem I’m facing in all of this is that at my law firm, the tables are created by different people (sometimes paralegals, sometimes secretaries, sometimes attorneys), so I as a word processor have to deal with all kinds of formatting, good and bad.
Thanks for offering to take a look.
Russ
-
byteme
AskWoody PlusNovember 23, 2005 at 6:14 am #986501I’m using Word 2002 and just did the following:
1. I hit the “New” button to give myself a new blank document.
2. I used the Insert Table button to insert a 3×3 table.
3. I went to the end of the table (outside it), moved down a couple paragraphs, and again used the Insert Table button to insert a 2nd 3×3 table.
4. I clicked/dragged the boundary between the 1st & 2nd columns of the 1st table to create unequal column widths.
5. I double-clicked at the left table boundary to select the 2nd row of the 1st table, and then copied it to the clipboard.
6. I clicked into the first cell of the 2nd row of the 2nd table (collapsed IP).
7. I did a normal paste.Result: The 2nd row (of 4 rows) in the 2nd table has different column widths than the other 3 rows.
(One more reason to miss WordPerfect, say I.)
-
Andrew Lockton
AskWoody_MVPNovember 23, 2005 at 7:41 pm #986699I can see what you have done that is different to the way I do it. Your step 5 selection includes the end of row marker to the right of the table – I presume this is where the rows cell width information is stored.
Try modifying step 5 to select the CELLS by dragging across the three cells and not including the end of row marker. Now when you copy this into the table above you will get the same column widths because you will be copying into existing cells (not inserting new rows). This means in practice that you may need to insert a new blank row to avoid overwriting existing content. The quickest way to do this is to put your cursor at the end of cell marker location and press Enter.
New rows get added automatically at the bottom of the table if there are not enough rows to cater for your clipboard contents.
I know this is not going to change your opinion of Word vs WP but I think this shows good flexibility in the software depending on what was in your clipboard and I still think that Microsoft got it right.
-
byteme
AskWoody Plus -
WSRuss Kidd
AskWoody LoungerNovember 24, 2005 at 3:13 am #986792Andrew and st3333ve,
Sorry for not getting back until now. Because of the Thanksgiving holiday week, some of our staff is on vacation and I haven’t had a moment to reply.
In the meantime, Andrew, I tried your suggestion of not including the end-of-row marker when selecting the rows to be copied. It worked!! Of course I did have to create enough blank rows in the receiving table to accommodate the rows I was copying, but the columns in the copied rows conformed to those in the receiving table. Thanks for that great solution.
It makes sense that the row formatting would be stored in the end-of-row marker given Word’s convention of putting the formatting at the end of a structure (paragraph mark for a paragraph, trailing section break for a section, etc.). I’ve also heard of solving some document-corruption problems by selecting the entire document except for the final paragraph mark and pasting to a new document. I’ve never tried that myself, however.
Although it seems kind of moot, I’ve attached a document with the two tables as you suggested, Andrew. Let me know if you find anything odd in the formats.
Both of you guys have used the term “collapsed” when talking about the cursor or insertion point. What does that mean?
Russ
-
byteme
AskWoody Plus -
Andrew Lockton
AskWoody_MVPNovember 24, 2005 at 5:29 am #986798I would disagree that it was redundant to mention the collapsed selection – I would have questioned you if you hadn’t mentioned it. Your clear description of your steps is what allowed me to guess where the problem lay and if you hadn’t mentioned those little details we would still be none the wiser.
I wouldn’t try to paste multiple cells into an expanded selection of cells because I wouldn’t know what to expect from the result. This may just be a carry over from Excel where I would be nagged about selection shape not matching clipboard shape if I don’t select the matrix of cells correctly.
-
byteme
AskWoody PlusNovember 24, 2005 at 6:30 am #986803I’d agree that “collapsed selection” isn’t redundant, but “collapsed IP” arguably is, since IP generally refers to a collapsed selection all by itself, as in:
If Selection.Type = wdSelectionIP Then ...
Now if you don’t mind, I’m going to get back to pondering how Word allows me to select several consecutive rows without the end-of-row markers “in between” the selected rows being included in the selection. (Selecting consecutive paragraphs without the “in between” paragraph marks takes a lot more effort, no?)
I’m not looking for an “answer” so much as working up an appetite for stuffing and pecan pie.
-
Andrew Lockton
AskWoody_MVPNovember 24, 2005 at 5:20 am #986796Russ, I’ve had a look at your file and there doesn’t appear to be anything special about your formats. I guess your issue was just in the way you were selecting the cells for copying.
Collapsed selection is just stressing that there is nothing currently selected in the file – just a flashing cursor. The opposite of this is an ‘extended selection’ where something is actually selected (eg by a click and drag).
-
-
-
-
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Debian 12.11 released
by
Alex5723
4 hours, 39 minutes ago -
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
8 hours, 21 minutes ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
5 hours, 50 minutes ago -
Moving fwd, Win 11 Pro,, which is best? Lenovo refurb
by
Deo
4 hours, 49 minutes ago -
DBOS Advanced Network Analysis
by
Kathy Stevens
1 day, 1 hour ago -
Microsoft Edge Launching Automatically?
by
healeyinpa
15 hours, 41 minutes ago -
Google Chrome to block admin-level browser launches for better security
by
Alex5723
1 day, 3 hours ago -
iPhone SE2 Stolen Device Protection
by
Rick Corbett
20 hours, 12 minutes ago -
Some advice for managing my wireless internet gateway
by
LHiggins
3 hours, 45 minutes ago -
NO POWER IN KEYBOARD OR MOUSE
by
HE48AEEXX77WEN4Edbtm
22 hours, 8 minutes ago -
A CVE-MITRE-CISA-CNA Extravaganza
by
Nibbled To Death By Ducks
1 day, 13 hours ago -
Sometimes I wonder about these bots
by
Susan Bradley
1 day, 9 hours ago -
Does windows update component store “self heal”?
by
Mike Cross
23 hours, 45 minutes ago -
Windows 11 Insider Preview build 27858 released to Canary
by
joep517
2 days, 3 hours ago -
Pwn2Own Berlin 2025: Day One Results
by
Alex5723
11 hours, 19 minutes ago -
Windows 10 might repeatedly display the BitLocker recovery screen at startup
by
Susan Bradley
15 hours ago -
Windows 11 Insider Preview Build 22631.5409 (23H2) released to Release Preview
by
joep517
2 days, 6 hours ago -
Windows 10 Build 19045.5912 (22H2) to Release Preview Channel
by
joep517
2 days, 6 hours ago -
Kevin Beaumont on Microsoft Recall
by
Susan Bradley
1 day, 18 hours ago -
The Surface Laptop Studio 2 is no longer being manufactured
by
Alex5723
2 days, 14 hours ago -
0Patch, where to begin
by
cassel23
2 days, 8 hours ago -
CFPB Quietly Kills Rule to Shield Americans From Data Brokers
by
Alex5723
3 days, 3 hours ago -
89 million Steam account details just got leaked,
by
Alex5723
2 days, 15 hours ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
3 days, 12 hours ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
3 days, 3 hours ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
5 hours, 34 minutes ago -
Installer program can’t read my registry
by
Peobody
1 hour, 45 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
3 days, 1 hour ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
3 days, 8 hours ago -
False error message from eMClient
by
WSSebastian42
3 days, 23 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.