The Excel-DNA worksheet functions can be called directly from VBA with Application.Run. That's the simplest if you just want to call the functions, and don't need a rich object model.
You can't export static methods through COM directly, so if you take this route you need some wrapper classes to give access to the static methods.
Most of the guidance from Mike's website is still good, though it doesn't use the NuGet packages to make the basic add-in project, which is a lot simpler.
If you're struggling to get the ComServer aspect to work with your add-in, there are some basic checks:
* ComServer flag in the .dna file.
* Class must be ComVisible (public, parameterless constructor, ComVisible attribute etc.)
* A call to DllRegisterServer or doing
-Govert
To unsubscribe from this group and all its topics, send an email to exceldna+...@googlegroups.com.
To post to this group, send email to exc...@googlegroups.com.