OFF4: Run-time error '440' Creating OLE Automation ObjectLast reviewed: February 3, 1998Article ID: Q124636 |
The information in this article applies to:
SYMPTOMSIn Microsoft Excel, when you use a Visual Basic procedure to create a Microsoft Word OLE Automation object, you may receive the following error message:
Run-time error '440': OLE Automation error CAUSEThis behavior occurs because OLE Automation does not work between a Power Macintosh version of an application, such as Microsoft Excel version 5.0 for the Power Macintosh, and a Macintosh version of an application, such as Microsoft Word 6.0 for the Macintosh. For example, the following line in a Visual Basic procedure in Microsoft Excel 5.0 for the Power Macintosh returns an error if you have installed Microsoft Word 6.0 for the Macintosh:
Set Word = CreateObject("Word.Basic") WORKAROUNDTo avoid the above behavior, you must run only the Power Macintosh versions of applications, or only the Macintosh (68K) versions of applications.
MORE INFORMATIONFor additional information, please see the following article(s) in the Microsoft Knowledge Base:
ARTICLE-ID: Q123959 TITLE : Can't Drag Item from 68K Application to PowerMac Application ARTICLE-ID: Q119139 TITLE : Cannot Edit Word 6.0 for Mac Document Object in Place REFERENCESFor more information about the CreateObject Function, choose the Search button in the MS Excel Visual Basic Help and type:
CreateObject |
Additional query words: 5.00 6.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |