Pregunta

I am currently comparing Excel-DNA vs VSTO and Interop. I am interested in creating an Add-in for Excel using C#. I don't need to create UDF's, but only interact with Excel, ex: read cells, write cells, create sheets, etc.

Which solution would be better for this: Excel-DNA or VSTO?

Thank you.

¿Fue útil?

Solución

If performance matters then avoid VSTO-Interop.
If you need to target multiple Excel versions avoid VSTO-Interop.
If you think you might want UDFs in the future avoid VSTO-Interop.

Otherwise VSTO is OK.

As well as Excel-DNA you should also look at Addin-Express, which also does not suffer from the VSTO shortcomings.

Otros consejos

VSTO is better if you are not going to create any UDF.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top