Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling MS Excel from VFP 6.0
Message
From
21/10/1998 15:24:31
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
 
 
To
21/10/1998 15:22:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00149051
Message ID:
00149065
Views:
33
I need to open excel with a specific worksheet.

>AppShow is not valid for Excel. I can't pull up my VB Help for Word....what exactly are you trying to do?
>
>
>>I had an example that does this with word, so I figured excel would be done the same way. Is this not correct?
>>
>>
>>>Jim ----
>>>
>>>What the heck is "AppShow"?
>>>
>>>
>>>>I am trying to run Excel from VFP 6.0. Here is the code I am using, this doesn't seem to work. Any ideas??
>>>>
>>>>oExcel = CREATEOBJECT("excel.application")
>>>>IF TYPE ("oExcel") # "O" OR ISNULL(oExcel)
>>>> =MESSAGEBOX("Please make sure that excel is install on this machine.",16,"test")
>>>> RETURN
>>>>ELSE
>>>> oExcel.AppShow()
>>>>ENDIF
>>>>
>>>>
>>>>Thanks
>>>>
>>>>Jim
Thanks

Jim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform