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.
我有一个关于如何通过 C# 代码定义 Excel 宏的问题。例如,我在 Excel 中创建了一个按钮,然后将 C# 函数分配给它作为其宏函数,而不是使用 VBA。有人可以给我一点吗?谢谢..
这是一篇文章,解释了您要做什么,希望对您有所帮助
Excel 宏 - 使用 C# 在运行时创建和运行