Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel - updatelinks
Message
From
31/07/2000 14:06:38
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00398805
Message ID:
00398905
Views:
16
Try This,
x=createobject("excel.application")
x.workbooks.open("C:\EX\CONT\Prod200007.xls",0)

Fox doesn't let you assign values to variables in an 'inLine' manner like the VBA code you cut and pasted there. When you translate to VFP, you have to take out the variable names (or assign the proper values to variables beforehand), and then separate your parameters by commas. Hope this smooths things out.
Paul A. Busbey
Victoria Insurance
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform