安装其他 XLA 加载项后,VSTO 中的 Excel 添加不起作用
我用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试禁用并重新启用您的插件。这也可能是您的插件和 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.