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.
在 Excel VBA 中,可以通过CreateObject("NameSpace.InterfaceName").
CreateObject("NameSpace.InterfaceName")
然后调用函数myComObject.DoStuff()
myComObject.DoStuff()
有没有办法在此处设置断点myComObject.DoStuff()并启动 Visual Studio 来调试函数?
Com 对象是用 C# 编写的。