As far as I understand VSTO and Excel-DNA offer two different solutions for getting .NET code into Excel. One solution is open-source and the other solution is developed by Microsoft. What are the pros and cons of each solution, today and going forward?
VSTO
+ is suitable for large-scale team development
+ If you already have Visual Studio Pro its free
+ good for COM addins & UI development
+ Microsoft product
- performance of .NET-Interop is poor
- Still difficult to handle multiple Excel versions
- significant learning curve for VBA user
- no UDF support
Excel DNA
+ Excellent UDF performance (XLL-.NET)
+ suports both the COM - Interop and the XLL interfaces
+ easy to use and deploy
+ use with or without Visual Studio
+ Free and open source
- Not well documented but excellent support group
You should also consider Addin Express which, like Excel DNA, supports both the COM interface and the XLL interface and has many wizards for building things. But its not open source and its not free.
My limited conclusions from my limited experience with both.
VSTO cons
VSTO pro
Excel DNA con
So I'm back using VBA. As bad as one may consider it to be, it's still the best alternative according to this user.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With