View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ravil Ravil is offline
external usenet poster
 
Posts: 3
Default Calling user defined function from C/C++

Hello,

How can I call user defined function (written in VBA on XLA Add-in) from C
(code in XLL Add-in)?

If I knew number of my user defined function I could use Axcel4 function, but
how can I find out number of user defined function?

I could use standard evaluate function passing to it argument like
"MyFunction(\"Args...\"", but in this case I have to pass all arguments in
string. Some arguments's type can be various Variant types, for example Long,
Double, and Array, so it would be conveniently to have a method to call user
defined function passing to it Variant type arguments. I mean not using call
of evaluate function.

Any ideas?

Thank you,

Ravil

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200604/1