Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to start Excel with a speific file in VFP?
Message
From
31/03/2000 12:25:25
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00353059
Message ID:
00353428
Views:
12
I tried the code that you posted and, you know what?, it worked!!!

So I retract what I said before about your code not working. It does! Sorry!


oExcel = Createobject("excel.application")
oworkbook = oExcel.workbooks.add(Getfile()) && point to an xls file....
oExcel.visible = .t.





>How much money are you willing to bet.........and lose.... The fact is, if you specify and XLS file, it works just file......as well as an XLT...
>
>And obviously, there are some error trapping issues the user will need to deal with...
>
>Sorry...
>
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform