XL2000: Can't Link to Worksheet with Exclamation Point in Name

ID: Q214294


The information in this article applies to:
  • Microsoft Excel 2000


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.


MORE INFORMATION

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, if you select any of the options in the Paste Special dialog box and click Paste Link in Word, 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: officeinterop ole XL2000

Keywords : kbinterop kbualink97 kbdta offinterop
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb


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