Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel Illegal operation
Message
From
29/06/1999 11:39:54
 
 
To
29/06/1999 11:19:38
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00235217
Message ID:
00235290
Views:
28
a .xls is a workbook file but in order to get the file to open you need to set an object with the application first then the active workbook next. the open command is part of the workbook object. If you want to open a direct link to the file try this

* Open the file
loExcel = GetObject(lcFileName)

* Show the Application
loExcel.Parent.Visible = .T.


the one I gave you before and this one do the same thing only the before one goes from app to workbook this one goes for workbook object to application

Thanks
Darren Mc Dowell
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform