2


We have a number of .xla/.xlam Excel Addins and the time has come to migrate to something easier to version control and maintain.
I'd like to write in C# if possible and the Addins will need to do the following sorts of things:-

  • Provide User Defined Functions to Excel
  • Create and manipulate named ranges in the Excel sheet
  • Pull data from external sources and populate cells in the Excel sheet

Currently all this is possible and simple to do with a .xlam what are the pros/cons of moving to VSTO or creating a C# Addin (I notice VS2010 has a New Project option of creating an Excel 2007 Addin).
Are there any good sources of documentation?
Thanks Dave

4

1 回答 1

5

我建议您认真查看 Excel DNA(免费)或 Addin Express(收费)。两者都通过 .XLL 接口以及 .COM 到 .NET 接口(如果需要)提供 .Net 功能。
这两者的性能使 VSTO 看起来像糖蜜,安装非常简单。
为了轻松创建执行 UDF,XLDNA 很难被击败。

于 2010-11-03T21:59:03.293 回答