Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WorkBooks
Message
De
08/05/2003 10:30:13
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
08/05/2003 08:09:34
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00786159
Message ID:
00786238
Vues:
11
>Hi everyone,
>
>I use Automation on a Windows 98 machine with Excel 2000. When I want to open an Excel file, I type this code:
>
>oExcel=createobject("Excel.Application")
>oWorkBook=oExcel.WorkBooks.Open("c:\test.xls")
>
>Then I get the error message:
>
>Error: 1943: "Member WorkBooks does not evaluate to an object"
>
>Then I run the same code on another computer which is exactly installed like the one I get the error from. Also windows 98 and Excel 2000.
>
>Does anybody know how this can happen?
>
>Thanx in advance
>Ron :o)

Ron,
Check if c:\test.xls does really exists and if you can open it manually from excel.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform