Build add-in for VBA IDE using VB.NET

后端 未结 5 1753
你的背包
你的背包 2020-12-04 18:25

I have asked this elsewhere, but have never found anyone knows how to build an add-in for VBA IDE using VB.NET. Is it even possible? Could someone point me to an example?

5条回答
  •  误落风尘
    2020-12-04 19:07

    I would imagine you could call a .NET DLL from your VBA code (never actually done this myself). Just create a VB Class Library project and create a DLL to use in your VBA.

    After a quick google it looks like you would need to set "Register for Com Interop" = True under Project Properties->Build, but like I said, I've never actually tried this before.

提交回复
热议问题