WD2000: DOCERR: OLE Object ClassName Is Incorrect for LINK Field in Word Help (258053)



The information in this article applies to:

  • Microsoft Word 2000

This article was previously published under Q258053

SYMPTOMS

When you use Microsoft Word Help to assist with inserting a LINK field for inserting information from a different program as an OLE object, the information pertaining to the ClassName is incorrect.

For example, the LINK field in Microsoft Word Help describes the following:
   Instruction          Description
   ------------------------------------------------------------------------

   ClassName            The application type of the linked information. For
                        example, for a Microsoft Excel chart, ClassName is
                        "ExcelChart." Word determines this information from
                        the source application.
				
The example given in the LINK Help topic is also incorrect:

{ LINK ExcelSheet C:\\My Documents\Profits.xls A1:D4 \a }

For more information about the LINK field, click Microsoft Word Help on the Help menu, type link field in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

When you link to a different program to insert that program's information as an object into a Microsoft Word document, you must specify the programmatic identifier (ProgID) for that specified OLE object.

For example, if you want to paste link copied information from a Microsoft Excel worksheet into a Word document as a Microsoft Excel Worksheet Object, you must specify the ClassName for the Excel object, as in the following example:

{ LINK Excel.Sheet.8 "C:\\My Documents\\Profits.xls" Sheet1!R1C1:R4C4 \a }

For more information about using the correct ClassName for an OLE object, from the Visual Basic Editor, click the Office Assistant, type classtype, click Search, and then click to view "ProgID Property."

For more information about cell references, click Microsoft Excel Help on the Help menu, type about cell and range references in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

REFERENCES

For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

198299 WD2000: ErrMsg: "Word Could Not Re-Establish DDE Connection to Microsoft Excel"

211258 WD2000: How to Change an Existing Linked Excel Object


Modification Type:MajorLast Reviewed:8/27/2002
Keywords:kbbug kbfield KB258053