Excel图表事件处理程序丢失 [英] Excel chart event handler missing
问题描述
我使用包含多个图表的Visual Basic .NET(在VS 2008中编程,.NET Framework 3.5)创建了一个Excel文件(更好,图表) 。
I created an Excel file with Visual Basic .NET (programming in VS 2008, .NET Framework 3.5) containing several charts (better, chart-sheet).
对于每个图表,我为select事件添加了一个处理程序:
For each chart I added an handler for the select event:
EventDel_ChartSelect = New ChartEvents_SelectEventHandler( _
AddressOf ChartSelect)
AddHandler Ch.Select, EventDel_ChartSelect
问题是当我运行代码(它创建excel文件并打开它)时,前21个图表似乎没有任何事件处理程序,而最后22个图表没有任何事件处理程序。
The problem is when I run the code (it creates the excel file and open it), the first 21 charts seems to don't have any event handler, while the last 22 have it and all work correctly.
excel文件的事件处理程序数量是否有限制?
Is there a limit on the number of event handler for an excel file?
谢谢。
推荐答案
你好,
关于事件处理程序的限制,我会在
Excel for D. evelopers论坛。
In regards to limit of event handlers I would ask this question in the Excel for Developers forum.
这篇关于Excel图表事件处理程序丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!