These add-ins also behave slightly different. Let's say you have a UDF that
takes two integer values. There's an xll version and an automation version.
Now yiu enter this:
=MyFunc(32)
If you use an xll, Excel will pass 32 and 0. With a COM add-in, excel won't
call your function unless all parameters have been given values. This is
something I found out when I made a VB.NET and a C# version of a simple
add-in. It didn't matter if the parameters were declared optional in VB.NET.
I haven't tested this with VB6.
If you want to make a COM add-in written in C# or VB.NET, you may want to
create a shim dll which Makes things more complicated. There are a few other
differences as well. Tell us more about the add-in you want to code.
I have written several functions in VBA and wish to move them to C++. To
increase the speed. I also want to use it to help protect much of the code
from prying eyes. What I would like to know is how the two types compare in
speed, the complexity of building function and anything that would be a
benefit over the other.
I have Visual Studio .Net Developer edition with Office XP.
Another question I have is if I were to do a xll addin How do you do it in
..Net. All articles Ive seen show it being done in visual studio 6.0 in xp
they have no wizard to get it started.
I have written several functions in VBA and wish to move them to C++. To
increase the speed. I also want to use it to help protect much of the code
from prying eyes. What I would like to know is how the two types compare in
speed, the complexity of building function and anything that would be a
benefit over the other.
I have Visual Studio .Net Developer edition with Office XP.
Another question I have is if I were to do a xll addin How do you do it in
.Net. All articles Ive seen show it being done in visual studio 6.0 in xp
they have no wizard to get it started.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.