What is the current state of the art in developing MSFT Office macros in a NON-VBA language?

末鹿安然 提交于 2019-12-24 15:08:36

问题


Long ago writing VBA macros for MSFT Office was part of my job.

Now it looks like I may be traveling down that road again, and I have not touched MSFT Office for anything serious in years.

Is VBA still the de-facto standard for creating msft office extensions?

Is it possible to write (non-second-class-citizen) MSFT office extensions in any language besides VBA yet?


回答1:


Macros are still good for prototyping. However, since they are an easy attack vector for malicious code I would try to avoid them for wide use. Have you consider Visual Studio Tools for Office as a platform?




回答2:


The "state of the art" is to use a .NET language for Office development, using VSTO. This is typically done via C# or VB.NET.




回答3:


My take on this would be to integrate VSTO and IronPython. We have made several solutions with this combo and are very happy with it. It enables you to write core parts of your solution in C#, but at the same time have a flexible environment to customize your application.



来源:https://stackoverflow.com/questions/1941814/what-is-the-current-state-of-the-art-in-developing-msft-office-macros-in-a-non-v

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