>Hi everyone... now I have done some research on this but do not quite have the answer I am looking for from FAQ and other threads....
>
>I have a user pulling some data in a very cut down version of my app (VFP 6.0). Once the data is pulled, and put into an excel spreadsheet, the user then wants to open excel and play around... but, CLOSE the calling VFP app as well... so, what is the best way to do this without leaving any dangling objects, etc...??
>
>TIA
>
>Ric
Ric,
You could createobject() do whatever you want, set excel to visible and quit VFP.
However if you don't need an object ref. to work within excel before making it visible I'd choose ShellExecute() launching excel and quit.
Cetin