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

ID: Q165924


The information in this article applies to:
  • Microsoft Visual Basic for Applications, included with:
    • Microsoft Word 97 for Windows
    • Microsoft PowerPoint 97 For Windows
    • Microsoft Excel 97 for Windows
    • Microsoft Access 97


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:

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

Additional query words: wordcon word8 word97 8.00 8.0 vb vba vbe

Keywords : kberrmsg kbprg
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbinfo


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