Microsoft KB Archive/129431

= WD: Word Link to Microsoft Excel Shows Unexpected Information =

Article ID: 129431

Article Last Modified on 8/16/2005

-

APPLIES TO


 * Microsoft Word 6.0 Standard Edition
 * Microsoft Word 6.0a
 * Microsoft Word 6.0c
 * Microsoft Word 95 Standard Edition
 * Microsoft Word 6.0 for Macintosh
 * Microsoft Word 6.01 for Macintosh
 * Microsoft Excel 5.0 Standard Edition

-



This article was previously published under Q129431





SYMPTOMS
If you have linked information from Microsoft Excel into Word, and then you insert rows or columns in or near the linked area in Excel, Word may not show the expected results.

For example, if you copy the following material from Excel:   a    b    c   d    e    f   g    h    i and you link it into a Word document, Word shows the expected text.

However, if you insert a row above the copied area in Excel, so that the information in Excel looks like this:   new text a   b    c   d    e    f   g    h    i then Word shows the new row but not the last row:   new text a   b    c   d    e    f



CAUSE
By design, a Word link always refers to the same area in Excel. If the cell range you originally linked from Excel includes cells B2 through F5, Word always refers to this same range, regardless of where you add rows or columns. You can see which part of the worksheet Word is referring to by choosing Links from the Edit menu.



WORKAROUND
If you want to add rows above or below the linked area, or if you want to add a column to either side, you must redo the link from Excel to Word.

However, if you want to add rows or columns inside the linked area in Excel, you can work around this problem by using a range name in Excel. A range in Excel expands if rows or columns are added inside its boundaries. To name a range in Excel, follow these steps:


 * 1) Select the cells that you want to link.
 * 2) On the Insert menu, click Name.
 * 3) Click Define.
 * 4) In the Names In Workbook area, type the name you want to give this area, such as "Sales" or "Earnings" (without the quotation marks).
 * 5) Click OK.

When you copy this area and link it in Word, Word always shows any new rows or columns that have been added inside the boundaries of the named range.

Additional query words: paste

Keywords: kbinterop kbprb kbfield KB129431

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.