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
------------------------------------------------
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