WD: Word Link to Microsoft Excel Shows Unexpected Information

Last reviewed: February 3, 1998
Article 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 97 for Windows
  • 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 you then 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 will show 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 will show the new row but won't show 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 included 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 will be adding rows above or below the linked area or if you will be adding a column to either side, you must redo the link from Excel to Word.

However, if you will be adding 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 (highlight) 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 will always show any new rows or columns that have been added inside the boundaries of the named range.


Additional query words: paste link
Keywords : kbfield macword winword word6 word7 word95 word97 kbinterop
Version : WINDOWS:6.0,6.0a,6.0c,7.0,70a,97;MACINTOSH:6.0,6.0.1,6.0.1a
Platform : MACINTOSH WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 3, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.