安装其他 XLA 加载项后,VSTO 中的 Excel 添加不起作用

发布于 2024-10-08 05:36:10 字数 159 浏览 0 评论 0原文

我用 C# 开发了一个 Excel Add in,并且运行良好。 但由于我在 XLA 文件中安装了另一个用 VBS 编写的 Add in,所以我的 C# Add in 不再工作...... 以前有人遇到过这种情况吗?我该如何解决这个问题? 我可以在添加之前创建 XLA 文件以强制加载吗? 此致 萨布里,

I have developed an Excel Add in with C#, and was working fine.
But since i had installed another Add in written in VBS in XLA file, my C# Add in doesn't work anymore...
Does anyone faced this situation before? how can i proceed to resolve that?
Can i create an XLA file fore my add in to force it loads?
Best regards
Sabri,

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

薯片软お妹 2024-10-15 05:36:10

尝试禁用并重新启用您的插件。这也可能是您的插件和 XLA 文件执行的操作之间存在非常具体的冲突。最后,您的外接程序可能对 Application.Worksheets() 元素执行操作,但无法正确区分活动工作簿是什么(即,正在对随每个实例打开的隐藏 XLA 工作簿执行操作。

)可能性,因此请尝试其中一些解决方案,如果没有任何效果,请通过描述每个加载项的功能来澄清您的问题。

Try disabling and re-enabling your Addin. This could also be a very specific conflict between actions performed by your addin and the XLA file. Finally, it's possible that your Add-in does actions on the Application.Worksheets() elements and is not properly distinguishing between what the active workbook is (i.e. actions are being performed on the hidden XLA workbook that opens with each instance.)

A world of possibilities, so try some of these resolutions, and if nothing works, clarify your problem with a description of what each add-in does.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文