Excel 2013中的自动化AddIn与其他AddIn不起作用 [英] Automation AddIn in Excel 2013 with other AddIn's doesn't work

查看:158
本文介绍了Excel 2013中的自动化AddIn与其他AddIn不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,



i有一个基于Interops10的自动化AddIn和一个简单的CommandBarButton。

一切正常(Office 2003 - Office 2013 ,x64,x32,de,en,...)



但是当我激活其他AddIn(如Solver)时,CommandBarButton Click不会触发up。

这只是在2013年的办公室!



OPEN条目和LoadBehavior都可以。



非常感谢任何想法。

hey,

i have an automation AddIn based on Interops10 with an simple CommandBarButton.
Everything works fine (Office 2003 - Office 2013, x64, x32, de, en, ...)

But when i active an other AddIn (like "Solver"), the CommandBarButton Click doesn't fire up.
This is only in office 2013!

OPEN entries and LoadBehavior are OK.

Great Thank for any ideas.

推荐答案

juhuuuu:

你必须设置Tag对象



CommandBarButton myButton;

myButton.Tag =TrySuicide;
juhuuuu:
You have to set the Tag object

CommandBarButton myButton;
myButton.Tag = "TrySuicide";


这篇关于Excel 2013中的自动化AddIn与其他AddIn不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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