Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel Illegal operation
Message
From
29/06/1999 11:11:15
 
 
To
29/06/1999 10:07:04
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00235217
Message ID:
00235278
Views:
22
Try this.

loExcel = CreateObject('Excel.Application')
loBook = loExcel.ActiveWorkBook
loExcel.Workbooks.Open(lcFileName)

The Open needs to be set to a workbook object.

Let me know if this works or if you need anything else pertaining to VFP and VBA

Darren
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform