简体   繁体   中英

How to define an Excel macro using C#

I have a problem about how to define Excel macros via C# code. For example, I create a button in Excel, and then assign a C# function to it as its macro function instead of using VBA. Can anybody give me some point?? Thanks..

Here is an Article that explains what you are trying to do I hope this helps

Excel Macro -Create and Run at Runtime using C#

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM