xla加载项中的Worksheet_SelectionChange事件 [英] Worksheet_SelectionChange event in xla add-in
本文介绍了xla加载项中的Worksheet_SelectionChange事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有可能在xla加载项中触发 Worksheet_SelectionChange
事件。我将代码放在加载项的工作表模块中。但它没有进入此模块。我的目标是在活动窗口的中央设置注释框。我从此处获取了代码。请帮助我。
Is to possible to trigger Worksheet_SelectionChange
event in xla add-in. I put the code in Worksheet module of add-in. but it did not enter into this module. My target is to set the comment box in the center of active window. I got the code from here. Please help me.
推荐答案
如果要在另一个工作簿中捕获事件,则需要处理应用程序级事件。请参见此处
You need to work with Application-level events if you want to capture an event in another workbook. See here
这篇关于xla加载项中的Worksheet_SelectionChange事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文