Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前正在比较 Excel-DNA 与 VSTO 和互操作。我有兴趣使用 C# 创建 Excel 加载项。我不需要创建 UDF,而只需要与 Excel 交互,例如:读取单元格、写入单元格、创建工作表等。
哪种解决方案会更好:Excel-DNA 或 VSTO?
谢谢你。
如果性能很重要,请避免使用 VSTO-Interop。 如果您需要针对多个 Excel 版本,请避免使用 VSTO-Interop。 如果您认为将来可能需要 UDF,请避免使用 VSTO-Interop。
否则 VSTO 正常。
除了 Excel-DNA,您还应该查看 Addin-Express,它也不受 VSTO 缺点的影响。
如果您不打算创建任何 UDF,VSTO 会更好。