简体   繁体   English

从 VBA 调用 Office 365 新型加载项

[英]Call Office 365 new-style add-in from VBA

I'm maintaining a legacy Excel workbook that has a significant amount done in VBA.我正在维护一个旧的 Excel 工作簿,该工作簿在 VBA 中完成了大量工作。 For threading's sake, I need to move some of that work out of VBA.为了线程的缘故,我需要将其中一些工作移出 VBA。 I have prototyped a DLL written in C#, but deployment (with registration) is more difficult.我已经用 C# 编写了一个 DLL 的原型,但是部署(带注册)比较困难。

Can you interact with the new HTML5 style add-ins using VBA?您可以使用 VBA 与新的 HTML5 样式加载项进行交互吗? So, in this case, writing a function in Javascript, and then calling it with specific parameters from the existing VBA macro.因此,在这种情况下,在 Javascript 中编写一个函数,然后使用现有 VBA 宏中的特定参数调用它。 If so, how?如果是这样,如何?

不幸的是,这不是微软现在支持的场景。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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