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

Last reviewed: August 28, 1997
Article 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" (without the quotation marks), 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" (without the quotation marks), 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:

   ARTICLE-ID: Q120802
   TITLE     : Office: How to Add/Remove a Single Office
               Program or Component


Additional query words: word8 word97 8.00 8.0 vb vba vbe kbwordvba
Keywords : kberrmsg kbprg PgmOthr
Version : 97
Platform : WINDOWS
Issue type : kbinfo


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 28, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.