How do I create a GUI add in for excel?

半腔热情 提交于 2021-01-27 14:05:39

问题


I've done some mucking around on Google but I still can't find what project this would be in Visual Studio. I want to create a GUI add in for Excel, for example a dock window on a ribbon with a windows form. What project would this be in Visual Studio? I have tried Excel add in but I don't know if this has the GUI component I'm looking for.


回答1:


Microsoft offers you "Visual Studio Tools for Office" (VSTO) for this purpose, see here for more information.

http://en.wikipedia.org/wiki/Visual_Studio_Tools_for_Office#External_links

But if you want a more lightweight solution, and you need it only for Excel, I suggest you have a look at Excel DNA

http://exceldna.codeplex.com/

This is freeware, mature, works even with the Express editions of Visual Studio and different from VSTO you can combine every supported .NET version with every Excel version and every Visual Studio version you like. I have created some Excel addins with Excel DNA on my own, and I love it.



来源:https://stackoverflow.com/questions/7165698/how-do-i-create-a-gui-add-in-for-excel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!