从excel直接打开但在活动插件中显示时,Excel加载其他插件无法加载 [英] Excel addin an other addin does not load when opening directly from excel but shows in active addins

查看:162
本文介绍了从excel直接打开但在活动插件中显示时,Excel加载其他插件无法加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在开发一个excel插件。 add in具有各种功能(例如调用Web服务和呈现)。所有工作都可以从Visual Studio中调用。

I am developing an excel addin. The add in has various features (such as calling web services and rendering). All works fine invoking from Visual Studio.

但是当我直接打开excel时,加载不会加载。除此之外,Power View,Power Query,PowerPivot add ins也无法加载。当我选择 - > Addins 我可以在"Active application
addins"中看到我的加载项以及上面的插件。当我进入COM插件时,我也可以看到它们被选中。

But when I open excel directly the add in does not load. Along with it, The Power View, Power Query, PowerPivot add ins also do not load. When I go to options --> Addins I can see my add-in as well as the above addin in the "Active application addins". When I go to COM addins I can see them selected as well.

我需要做的是取消选择它们,再次选择选项 - >添加并再次选择它们。这次加载。

What I then need to do is unselect them , again to to options--> addins and select them again. This time it loads.

如果我关闭并打开excel,加载项就会消失,我必须再次执行这些步骤。

Again if I close and open excel the add-ins disappear and I have to do these steps again.

我有不知道造成这种情况的原因。任何建议都会有所帮助。我有Excel 2013点击在Windows 10上运行64位版本。

I have no idea what is causing this. Any suggestion would help. I have Excel 2013 Click to run 64 bit version on Windows 10.

- Girija

- Girija

请将回复标记为已回答,如果有帮助的话......这有助于其他人...... - Girija Shankar Beuria

Please mark responses as answered if it helped you.. This helps others... - Girija Shankar Beuria

推荐答案

你好Girija,

Hello Girija,

你有任何UI错误吗? 

Do you get any UI errors? 

默认情况下,如果VSTO加载项试图操纵Microsoft Office用户界面(UI)并失败,则不显示错误消息。
但是,您可以配置Microsoft Office应用程序以显示与UI相关的错误消息。您可以使用这些消息来帮助确定未显示自定义功能区的原因,或者为何显示功能区但未显示控件的原因。请参阅
如何:显示添加 - 用户界面错误
 了解更多信息。 

By default, if an VSTO Add-in attempts to manipulate the Microsoft Office user interface (UI) and fails, no error message is displayed. However, you can configure Microsoft Office applications to display messages for errors that relate to the UI. You can use these messages to help determine why a custom Ribbon does not appear, or why a Ribbon appears but no controls appear. See How to: Show Add-in User Interface Errors for more information. 


这篇关于从excel直接打开但在活动插件中显示时,Excel加载其他插件无法加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆