thanks Larry
jfh
>>Anybody have or know where I can get any samples regarding Excel and BindEvent()? OR, any way I can keep track of a VFP object referencing Excel.Application when the user closed Excel? Thanks,
>>
>>jfh
>
>John,
>BindEvent only works with VFP internal events , not COM events. For that you need to use the EventHandler function. See Calvin Hsia's artcle
http://msdn.microsoft.com/library/en-us/dnfoxgen7/html/vfpandcom.asp for an example of using VFP with Excel.
>
>HTH.