February 22nd, 2006, 1:27 pm
The Automation approach provided by MS for writing managed worksheet functions is, in our experience, not a good solution for supporting trading desks. One reason (the biggest one) is that it uses COM as the underlying technology, and this creates significant deployment issues.I strongly recommend that anybody wanting to write Excel worksheet functions in .NET investigate the "managed xll" approach suggested by an earlier poster.We have developed our own framework based on this approach and it is in use on hundreds of desktops, running .NET 1.1/2.0, Windows 2000/XP, and Excel 2000/2002/2003. In addition to avoiding the deployment issues that come with COM, by leveraging the flexibility of the Excel C SDK and the power of the .NET platform, we are able to offer many value-added features, including: automated generation of online docs, support for custom marshalers, and the ability to run multiple versions of addins simultaneously (side-by-side execution).I understand that this does not come with an official blessing from MS, but it does work and what little I have heard about Excel 12 suggests that not only is the Excel C SDK not a dead end, but it is being improved.