Take a look at
PRB: ActiveX Controls Passing Variant* Back to VFP Cause Error mskb #
Q177575.
>Hi,
>
>I am making a call to a method of an ActiveX object (Spread 6.0 by FarPoint) that calls for two numeric and one variant parameter (which is used to return the result) but it results in a "Type mismatch" error. Other calls that required numeric parameters did OK, so I suspect the variant. I thought all VFP variables were variants in this context. Any suggestions?
>
>TIA,
>
>Alex
--sb--