Microsoft KB Archive/111941

= Can't Link to Worksheet with Exclamation Point in Name =

Article ID: 111941

Article Last Modified on 8/15/2003

-

APPLIES TO


 * Microsoft Excel 2000 Standard Edition
 * Microsoft Excel 97 Standard Edition

-



This article was previously published under Q111941





SYMPTOMS
If you link information from a Microsoft Excel worksheet to another program (client program) and the worksheet name contains an exclamation point (!), one of the following problems may occur:


 * You receive an error message in the client program.
 * The information appears in the client program, but the link cannot be edited or updated.



WORKAROUND
To avoid this behavior when you link information from a Microsoft Excel worksheet to a client program, make sure the worksheet name does not contain an exclamation point. To rename a worksheet in a Microsoft Excel workbook, point to Sheet on the Format menu, and click Rename on the submenu.



Microsoft Word for Windows
If you copy information from a worksheet when the name contains an exclamation point and click Paste Special in a document in Microsoft Word, the following options are available in the As list:

  Microsoft Excel Worksheet Object Formatted Text (RTF) Unformatted Text Picture Bitmap (Windows version only)

If you click Formatted Text (RTF) and click Paste Link, the following error message appears when you click OK:

Word cannot obtain the data for the Microsoft Excel Worksheet link.

If you select any of the other available options, and click OK with the Paste Link option selected, the worksheet information appears in the Word document. However the information is not updated when you change the data in Microsoft Excel.

In Microsoft Excel 97, if you select any of the options in the Paste Special Dialog Box and click Paste Link in Word 97, the following error message appears:

Word cannot obtain the data for the Microsoft Excel Worksheet link.

Microsoft Write (Windows Only)
If you copy information from a worksheet when the name contains an exclamation point, and click Paste Special in a document in Microsoft Write, the following options are available in the Data Type list:

  Microsoft Excel Worksheet Object Picture Bitmap Text

The Paste Link button is not available when you click the Text option. Note that this problem occurs even if the worksheet name does not contain an exclamation point.

If you click any of the other options and click Paste Link, the information appears in the Microsoft Write document. However, the information is not updated when you change the source information. When you edit the link in Microsoft Write, you receive the following error message:

Linked document is unavailable.

When you update the link using the Links dialog box, you receive the following error message:

The source document cannot be found.

Make sure that the object still exists in the source document, the link is uncorrupted, and the source document is still available (that is, it has not been deleted, moved, or renamed).

Additional query words: 5.00c 6.00 8.00 97 Word6 Word97 officeinterop ole xl5 xl95 xl97 wd97 XL

Keywords: kbinterop kbualink97 kbprb KB111941

-

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

© Microsoft Corporation. All rights reserved.