Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel error
Message
From
24/08/2000 13:05:28
 
 
To
24/08/2000 10:11:47
Héctor Lizarraga
Gobierno Del Edo de Querétaro
Querétaro, Mexico
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00408726
Message ID:
00408843
Views:
20
>I have this code in the CreateInstance() method:
>
>oExcel = GetObject("\\ATHON\Usuarios\CAPACIT\Mrodrigu\Maura\INDUC-INTEGRA\CONST2.XLS")
>

One thing to keep in mind is that when you open Excel this way (by passing a filename to GetObject()), the object it returns is the Workbook, not the application. So with the code you've written oExcel refers to the workbook Const2.XLS, not to Excel itself.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform