WD97: Run-time Error Using OLEFormat.Object with Linked Object (165924)



The information in this article applies to:

  • Microsoft Word 97 for Windows
  • Microsoft Excel 97 for Windows
  • Microsoft PowerPoint 97 for Windows
  • Microsoft Access 97

This article was previously published under Q165924

SUMMARY

When you attempt to use the Visual Basic for Applications OLEFormat.Object command with a linked object, you receive the following error message:
Run-time error '430': Class doesn't support OLE Automation
The Object property is not a valid property for linked objects. You can use the Object property only with embedded objects.

MORE INFORMATION

For more information about the Object property, click the Office Assistant in the Visual Basic Editor, type object property, click Search, and then click to view the "Object Property(Word 97)" topic.

For more information about the OLEFormat Property, click the Office Assistant in the Visual Basic Editor, type oleformat property, click Search, and then click to view the "OLEFormat Property" topic.

NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If Visual Basic for Applications Help is not installed on your computer, please see the following article in the Microsoft Knowledge Base:

120802 Office: How to Add/Remove a Single Office Program or Component


Modification Type:MinorLast Reviewed:9/19/2006
Keywords:kberrmsg kbinfo kbprogramming KB165924