Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open Excel Spreadsheet
Message
From
03/04/2003 10:26:55
 
 
To
03/04/2003 07:41:33
Irv Adams
MSC Managed Care, Inc.
Florida, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00773477
Message ID:
00773550
Views:
5
>Hi All:
>
>Just looking for a code snippet to open an Excel Spreadsheet from within Fox. After it's open the User can have control, all I want to do is Browse for it and open it for them.
>
>Much Thanks !

You can use this:
xl=CreateObject("Excel.Application")
xl.Workbooks.Open("C:\temp\myfile.xls")
xl.Visible= .T.
Release xl
HTH,
Previous
Reply
Map
View

Click here to load this message in the networking platform