WD: Word Link to Microsoft Excel Shows Unexpected Information

ID: Q129431


The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, version 7.0
  • Microsoft Word for the Macintosh, versions 6.0, 6.0.1
  • Microsoft Excel for Windows, version 5.0


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 kbfield winword macword word6 word7 word95
Version : MACINTOSH:6.0,6.0.1; WINDOWS:5.0,6.0,6.0a,6.0c,7.0
Platform : MACINTOSH WINDOWS
Issue type : kbprb


Last Reviewed: November 4, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.